#AF2F4B#AF2F4B
#AF2F4B is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.164 H 12.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F4B |
|---|---|
| RGB | rgb(175, 47, 75) |
| HSL | hsl(347, 58%, 44%) |
| HSV | hsv(347, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.67, 52.98, 14.45) |
| CIE-LCH | lch(40.67, 54.91, 15.25°) |
| OKLab | oklab(50.93% 0.1599 0.0361) |
| OKLCH | oklch(50.93% 0.164 12.7) |
| XYZ | xyz(19.9676, 11.6578, 7.8540) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 4.62
Raspberry (survey)
#B00149
ΔE00 4.64
Rose Red
#BE013C
ΔE00 4.70
Purplish Red
#B0054B
ΔE00 4.73
Ruby
#CA0147
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F4B #2FAF93
analogous
#AF2F8B #AF2F4B #AF532F
triadic
#AF2F4B #4BAF2F #2F4BAF
tetradic
#AF2F4B #8BAF2F #2FAF93 #532FAF
square
#AF2F4B #8BAF2F #2FAF93 #532FAF
split-complementary
#AF2F4B #2FAF53 #2F8BAF
monochromatic
#4F1522 #7F2236 #AF2F4B #CF4C69 #DC7C91
Accessibility & contrast
On white
6.30
#AF2F4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2F4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F4B
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F4B | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4B
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#BF0B3B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2f4b; /* rgb */ color: rgb(175, 47, 75); /* oklch */ color: oklch(50.9% 0.164 12.7);
Tailwind
colors: {
custom: {
50: '#cd727d',
500: '#af2f4b',
950: '#000000',
},
}SCSS
$custom: #af2f4b; $custom-light: #cd727d; $custom-dark: #000000;
JSON
{
"hex": "#af2f4b",
"rgb": {
"r": 175,
"g": 47,
"b": 75
},
"hsl": {
"h": 346.875,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50932,
"c": 0.1639,
"h": 12.7
},
"luminance": 0.11655
}Semantic roles & 50–950 ramp
primary
#AF2F4B
secondary
#75C4B3
accent
#E1BF47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B