Skip to content

#CF171A Color

#CF171A is rgb(207, 23, 26) in RGB, hsl(359, 80%, 45%) in HSL, and about cmyk(0%, 89%, 87%, 19%) in CMYK. It has no registered color name of its own — the closest is Venetian Red (#C80815), below the threshold most people can see at ΔE 2.16. White text is the more readable choice on this background.

#CF171A
HEX#CF171A
RGBrgb(207, 23, 26)
HSLhsl(359, 80%, 45%)
HSVhsv(359, 89%, 81%)
CMYKcmyk(0%, 89%, 87%, 19%)
OKLCHoklch(54.4% 0.212 27.7)
LABlab(45.02% 66.82 50.50)
LCHlch(45.02% 83.75 37.08)

What #CF171A Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #CF171A, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every red in the library.

#CF171A Channel Values

How #CF171A 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 207 · G 23 · B 268-bit channels as sent to the display
HSLH 359° · S 80% · L 45%Easiest model for building lighter and darker variants
HSVH 359° · S 89% · V 81%Matches the picker in most design tools
CMYKC 0% · M 89% · Y 87% · K 19%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.54:1 vs white · 3.79:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #CF171A 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 text5.54:1AA normal AA large AAA normal
Fails AABlack text3.79:1AA normal AA large AAA normal

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

Colors That Go With #CF171A

Pairings derived from color-wheel relationships. The complementary color sits opposite #CF171A; 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 #CF171A

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 #CF171A.

How #CF171A 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#CF171A
Protanopia#5F5F15
Protanomaly#994C17
Deuteranopia#7F7F00
Deuteranomaly#A56500
Tritanopia#CF1717
Tritanomaly#CF1718
Achromatopsia#686868

Test a full palette in the color blindness simulator.

Using #CF171A in Code

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

CSS custom property--color-cf171a: #CF171A;
CSS backgroundbackground-color: #CF171A;
Tailwind configcolors: { 'color-cf171a': '#CF171A' }
SwiftUIColor(red: 0.812, green: 0.090, blue: 0.102)
Android XML<color name="color_cf171a">#CF171A</color>
SVG fillfill="#CF171A"

More Red Colors

#CF171A sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#CF171A Frequently Asked Questions

What color is #CF171A?

#CF171A is a mid-tone red — rgb(207, 23, 26) in RGB and hsl(359, 80%, 45%) in HSL. It carries no registered color name of its own; the closest named color is Venetian Red (#C80815), which is below the threshold most people can see at a CIE76 distance of 2.16.

What is the RGB value of #CF171A?

#CF171A is rgb(207, 23, 26) — red 207, green 23, and blue 26 on the 0-255 scale.

What is the CMYK value of #CF171A?

#CF171A converts to approximately cmyk(0%, 89%, 87%, 19%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #CF171A be black or white?

White text is the more readable choice. #CF171A scores 5.54:1 against white and 3.79:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #CF171A as a CSS color keyword?

No. #CF171A is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is crimson (#DC143C) at a CIE76 distance of 15.92, which is visibly different.

Open #CF171A in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.