Skip to content

#7F1734 Color

#7F1734 is rgb(127, 23, 52) in RGB, hsl(343, 69%, 29%) in HSL, and about cmyk(0%, 82%, 59%, 50%) in CMYK. The closest CSS named color is Brown (#A52A2A). White text is the more readable choice on this background.

#7F1734
HEX#7F1734
RGBrgb(127, 23, 52)
HSLhsl(343, 69%, 29%)
HSVhsv(343, 82%, 50%)
CMYKcmyk(0%, 82%, 59%, 50%)
OKLCHoklch(39.5% 0.138 10.7)
LABlab(28.23% 44.84 11.27)
LCHlch(28.23% 46.24 14.11)

#7F1734 Channel Values

How #7F1734 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 127 · G 23 · B 528-bit channels as sent to the display
HSLH 343° · S 69% · L 29%Easiest model for building lighter and darker variants
HSVH 343° · S 82% · V 50%Matches the picker in most design tools
CMYKC 0% · M 82% · Y 59% · K 50%Approximate ink mix; confirm with an ICC profile before printing
Luminance10.12:1 vs white · 2.07:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #7F1734 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text10.12:1AA normal AA large AAA normal
TextBlack text2.07:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #7F1734 in the contrast checker.

Colors That Go With #7F1734

Pairings derived from color-wheel relationships. The complementary color sits opposite #7F1734; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #7F1734

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #7F1734.

How #7F1734 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#7F1734
Protanopia#3B3B33
Protanomaly#5E3034
Deuteranopia#4E4E2F
Deuteranomaly#653F31
Tritanopia#7E1C1C
Tritanomaly#7E1A28
Achromatopsia#424242

Test a full palette in the color blindness simulator.

Using #7F1734 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-7f1734: #7F1734;
CSS backgroundbackground-color: #7F1734;
Tailwind configcolors: { 'color-7f1734': '#7F1734' }
SwiftUIColor(red: 0.498, green: 0.090, blue: 0.204)
Android XML<color name="color_7f1734">#7F1734</color>
SVG fillfill="#7F1734"

#7F1734 Frequently Asked Questions

What is the RGB value of #7F1734?

#7F1734 is rgb(127, 23, 52) — red 127, green 23, and blue 52 on the 0-255 scale.

What is the CMYK value of #7F1734?

#7F1734 converts to approximately cmyk(0%, 82%, 59%, 50%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #7F1734 be black or white?

White text is the more readable choice. #7F1734 scores 10.12:1 against white and 2.07:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Does #7F1734 have a color name?

#7F1734 is not one of the 140 CSS named colors. The closest named color is Brown (#A52A2A), at a CIE76 distance of 23.5, so the two are clearly different.

Open #7F1734 in a Tool

#7F1734 sits in the pink family — browse every shade of pink with hex codes, or return to the full color library.