#AF475F#AF475F
#AF475F is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.2% C 0.137 H 8.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF475F |
|---|---|
| RGB | rgb(175, 71, 95) |
| HSL | hsl(346, 42%, 48%) |
| HSV | hsv(346, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 45.7%, 31.4%) |
| CIE-LAB | lab(44.87, 44.62, 7.86) |
| CIE-LCH | lch(44.87, 45.31, 9.99°) |
| OKLab | oklab(54.22% 0.1356 0.0205) |
| OKLCH | oklch(54.22% 0.137 8.6) |
| XYZ | xyz(21.9995, 14.4492, 12.4547) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 1.91
Light Burgundy
#A8415B
ΔE00 2.22
Light Maroon
#A24857
ΔE00 3.18
Deep Rose
#C74767
ΔE00 4.91
Dark Pink
#CB416B
ΔE00 5.65
Dusty Red
#B9484E
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF475F #47AF97
analogous
#AF4793 #AF475F #AF6347
triadic
#AF475F #5FAF47 #475FAF
tetradic
#AF475F #93AF47 #47AF97 #6347AF
square
#AF475F #93AF47 #47AF97 #6347AF
split-complementary
#AF475F #47AF63 #4793AF
monochromatic
#582430 #833547 #AF475F #C46F83 #D69AA8
Accessibility & contrast
On white
5.40
#AF475F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#AF475F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF475F
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF475F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF475F | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5D5F
Deuteranopia (green-blind)
#77725D
Tritanopia (blue-blind)
#BE3A50
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af475f; /* rgb */ color: rgb(175, 71, 95); /* oklch */ color: oklch(54.2% 0.137 8.6);
Tailwind
colors: {
custom: {
50: '#cb7f8c',
500: '#af475f',
950: '#000000',
},
}SCSS
$custom: #af475f; $custom-light: #cb7f8c; $custom-dark: #000000;
JSON
{
"hex": "#af475f",
"rgb": {
"r": 175,
"g": 71,
"b": 95
},
"hsl": {
"h": 346.154,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54221,
"c": 0.13711,
"h": 8.6
},
"luminance": 0.14447
}Semantic roles & 50–950 ramp
primary
#AF475F
secondary
#8FC2B7
accent
#D2B556
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D