#AF2A4B#AF2A4B
#AF2A4B is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.169 H 11.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A4B |
|---|---|
| RGB | rgb(175, 42, 75) |
| HSL | hsl(345, 61%, 43%) |
| HSV | hsv(345, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.05, 54.70, 13.61) |
| CIE-LCH | lch(40.05, 56.37, 13.97°) |
| OKLab | oklab(50.47% 0.1654 0.034) |
| OKLCH | oklch(50.47% 0.169 11.6) |
| XYZ | xyz(19.7791, 11.2807, 7.7911) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.70
Purplish Red
#B0054B
ΔE00 3.78
Rouge
#AB1239
ΔE00 4.35
Light Burgundy
#A8415B
ΔE00 4.77
Rose Red
#BE013C
ΔE00 4.80
Ruby
#CA0147
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A4B #2AAF8E
analogous
#AF2A8D #AF2A4B #AF4C2A
triadic
#AF2A4B #4BAF2A #2A4BAF
tetradic
#AF2A4B #8DAF2A #2AAF8E #4C2AAF
square
#AF2A4B #8DAF2A #2AAF8E #4C2AAF
split-complementary
#AF2A4B #2AAF4C #2A8DAF
monochromatic
#4C1221 #7E1E36 #AF2A4B #D24467 #DE758F
Accessibility & contrast
On white
6.45
#AF2A4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2A4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A4B
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A4B | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4D4B
Deuteranopia (green-blind)
#706848
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a4b; /* rgb */ color: rgb(175, 42, 75); /* oklch */ color: oklch(50.5% 0.169 11.6);
Tailwind
colors: {
custom: {
50: '#cd707d',
500: '#af2a4b',
950: '#000000',
},
}SCSS
$custom: #af2a4b; $custom-light: #cd707d; $custom-dark: #000000;
JSON
{
"hex": "#af2a4b",
"rgb": {
"r": 175,
"g": 42,
"b": 75
},
"hsl": {
"h": 345.113,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50474,
"c": 0.1689,
"h": 11.6
},
"luminance": 0.11278
}Semantic roles & 50–950 ramp
primary
#AF2A4B
secondary
#6FC6B0
accent
#E4BC43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B