#AF2E4B#AF2E4B
#AF2E4B is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.165 H 12.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E4B |
|---|---|
| RGB | rgb(175, 46, 75) |
| HSL | hsl(347, 58%, 43%) |
| HSV | hsv(347, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 57.1%, 31.4%) |
| CIE-LAB | lab(40.54, 53.34, 14.27) |
| CIE-LCH | lch(40.54, 55.21, 14.98°) |
| OKLab | oklab(50.84% 0.161 0.0356) |
| OKLCH | oklch(50.84% 0.165 12.5) |
| XYZ | xyz(19.9281, 11.5788, 7.8408) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.44
Rouge
#AB1239
ΔE00 4.46
Purplish Red
#B0054B
ΔE00 4.53
Light Burgundy
#A8415B
ΔE00 4.64
Rose Red
#BE013C
ΔE00 4.70
Ruby
#CA0147
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E4B #2EAF92
analogous
#AF2E8B #AF2E4B #AF522E
triadic
#AF2E4B #4BAF2E #2E4BAF
tetradic
#AF2E4B #8BAF2E #2EAF92 #522EAF
square
#AF2E4B #8BAF2E #2EAF92 #522EAF
split-complementary
#AF2E4B #2EAF52 #2E8BAF
monochromatic
#4E1521 #7F2136 #AF2E4B #D04B69 #DC7B91
Accessibility & contrast
On white
6.33
#AF2E4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2E4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E4B
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E4B | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4B
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#BF073A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e4b; /* rgb */ color: rgb(175, 46, 75); /* oklch */ color: oklch(50.8% 0.165 12.5);
Tailwind
colors: {
custom: {
50: '#cd717d',
500: '#af2e4b',
950: '#000000',
},
}SCSS
$custom: #af2e4b; $custom-light: #cd717d; $custom-dark: #000000;
JSON
{
"hex": "#af2e4b",
"rgb": {
"r": 175,
"g": 46,
"b": 75
},
"hsl": {
"h": 346.512,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50836,
"c": 0.16492,
"h": 12.5
},
"luminance": 0.11576
}Semantic roles & 50–950 ramp
primary
#AF2E4B
secondary
#74C5B3
accent
#E2BF46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B