#AF3954#AF3954
#AF3954 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.2% C 0.154 H 10.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3954 |
|---|---|
| RGB | rgb(175, 57, 84) |
| HSL | hsl(346, 51%, 45%) |
| HSV | hsv(346, 67%, 69%) |
| CMYK | cmyk(0%, 67.4%, 52%, 31.4%) |
| CIE-LAB | lab(42.28, 49.83, 11.03) |
| CIE-LCH | lch(42.28, 51.03, 12.49°) |
| OKLab | oklab(52.2% 0.151 0.0282) |
| OKLCH | oklch(52.2% 0.154 10.6) |
| XYZ | xyz(20.7443, 12.6830, 9.7415) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.54
Dark Rose
#B5485D
ΔE00 3.66
Light Maroon
#A24857
ΔE00 3.75
Purplish Red
#B0054B
ΔE00 5.64
Raspberry (survey)
#B00149
ΔE00 5.75
Ruby
#CA0147
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3954 #39AF94
analogous
#AF398F #AF3954 #AF5939
triadic
#AF3954 #54AF39 #3954AF
tetradic
#AF3954 #8FAF39 #39AF94 #5939AF
square
#AF3954 #8FAF39 #39AF94 #5939AF
split-complementary
#AF3954 #39AF59 #398FAF
monochromatic
#531B28 #812A3E #AF3954 #CA5B75 #D98A9C
Accessibility & contrast
On white
5.94
#AF3954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#AF3954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3954
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3954 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555554
Deuteranopia (green-blind)
#736D51
Tritanopia (blue-blind)
#BF2444
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af3954; /* rgb */ color: rgb(175, 57, 84); /* oklch */ color: oklch(52.2% 0.154 10.6);
Tailwind
colors: {
custom: {
50: '#cc7783',
500: '#af3954',
950: '#000000',
},
}SCSS
$custom: #af3954; $custom-light: #cc7783; $custom-dark: #000000;
JSON
{
"hex": "#af3954",
"rgb": {
"r": 175,
"g": 57,
"b": 84
},
"hsl": {
"h": 346.271,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.52199,
"c": 0.15364,
"h": 10.6
},
"luminance": 0.1268
}Semantic roles & 50–950 ramp
primary
#AF3954
secondary
#81C3B4
accent
#DABA4D
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#14090A
muted
#837B7C