#AF394B#AF394B
#AF394B is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.0% C 0.153 H 15.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AF394B |
|---|---|
| RGB | rgb(175, 57, 75) |
| HSL | hsl(351, 51%, 45%) |
| HSV | hsv(351, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 57.1%, 31.4%) |
| CIE-LAB | lab(42.08, 49.09, 16.36) |
| CIE-LCH | lch(42.08, 51.75, 18.43°) |
| OKLab | oklab(51.98% 0.1475 0.0406) |
| OKLCH | oklch(51.98% 0.153 15.4) |
| XYZ | xyz(20.4142, 12.5510, 8.0029) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Maroon
#A24857
ΔE00 4.47
Dark Rose
#B5485D
ΔE00 4.66
Dusty Red
#B9484E
ΔE00 4.90
Light Burgundy
#A8415B
ΔE00 5.03
Rose Red
#BE013C
ΔE00 5.20
Ruby
#CA0147
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF394B #39AF9D
analogous
#AF3986 #AF394B #AF6239
triadic
#AF394B #4BAF39 #394BAF
tetradic
#AF394B #86AF39 #39AF9D #6239AF
square
#AF394B #86AF39 #39AF9D #6239AF
split-complementary
#AF394B #39AF62 #3986AF
monochromatic
#531B23 #812A37 #AF394B #CA5B6C #D98A96
Accessibility & contrast
On white
5.98
#AF394B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#AF394B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF394B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF394B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF394B | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#56544B
Deuteranopia (green-blind)
#756C48
Tritanopia (blue-blind)
#BF2140
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af394b; /* rgb */ color: rgb(175, 57, 75); /* oklch */ color: oklch(52.0% 0.153 15.4);
Tailwind
colors: {
custom: {
50: '#cd777d',
500: '#af394b',
950: '#000000',
},
}SCSS
$custom: #af394b; $custom-light: #cd777d; $custom-dark: #000000;
JSON
{
"hex": "#af394b",
"rgb": {
"r": 175,
"g": 57,
"b": 75
},
"hsl": {
"h": 350.847,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.51982,
"c": 0.15294,
"h": 15.4
},
"luminance": 0.12548
}Semantic roles & 50–950 ramp
primary
#AF394B
secondary
#81C3B9
accent
#DAC54D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B