Skip to content

#AF0838 Color

#AF0838 is rgb(175, 8, 56) in RGB, hsl(343, 91%, 36%) in HSL, and about cmyk(0%, 95%, 68%, 31%) in CMYK. It has no registered color name of its own — the closest is Bright Maroon (#C32148), clearly related but distinguishable side by side at ΔE 6.42. White text is the more readable choice on this background.

#AF0838
HEX#AF0838
RGBrgb(175, 8, 56)
HSLhsl(343, 91%, 36%)
HSVhsv(343, 95%, 69%)
CMYKcmyk(0%, 95%, 68%, 31%)
OKLCHoklch(48.2% 0.189 15.8)
LABlab(37.76% 61.03 23.30)
LCHlch(37.76% 65.33 20.90)

What #AF0838 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 #AF0838, 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 pink in the library.

#AF0838 Channel Values

How #AF0838 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 175 · G 8 · B 568-bit channels as sent to the display
HSLH 343° · S 91% · L 36%Easiest model for building lighter and darker variants
HSVH 343° · S 95% · V 69%Matches the picker in most design tools
CMYKC 0% · M 95% · Y 68% · K 31%Approximate ink mix; confirm with an ICC profile before printing
Luminance7.21:1 vs white · 2.91:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #AF0838 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 text7.21:1AA normal AA large AAA normal
Fails AABlack text2.91:1AA normal AA large AAA normal

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

Colors That Go With #AF0838

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

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

How #AF0838 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#AF0838
Protanopia#4D4D37
Protanomaly#803D37
Deuteranopia#6A6A2E
Deuteranomaly#8B5332
Tritanopia#AE1414
Tritanomaly#AE1027
Achromatopsia#575757

Test a full palette in the color blindness simulator.

Using #AF0838 in Code

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

CSS custom property--color-af0838: #AF0838;
CSS backgroundbackground-color: #AF0838;
Tailwind configcolors: { 'color-af0838': '#AF0838' }
SwiftUIColor(red: 0.686, green: 0.031, blue: 0.220)
Android XML<color name="color_af0838">#AF0838</color>
SVG fillfill="#AF0838"

More Pink Colors

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

#AF0838 Frequently Asked Questions

What color is #AF0838?

#AF0838 is a dark pink — rgb(175, 8, 56) in RGB and hsl(343, 91%, 36%) in HSL. It carries no registered color name of its own; the closest named color is Bright Maroon (#C32148), which is clearly related but distinguishable side by side at a CIE76 distance of 6.42.

What is the RGB value of #AF0838?

#AF0838 is rgb(175, 8, 56) — red 175, green 8, and blue 56 on the 0-255 scale.

What is the CMYK value of #AF0838?

#AF0838 converts to approximately cmyk(0%, 95%, 68%, 31%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #AF0838 be black or white?

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

Can I write #AF0838 as a CSS color keyword?

No. #AF0838 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 brown (#A52A2A) at a CIE76 distance of 13.65, which is visibly different.

Open #AF0838 in a Tool

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