#AF2B4A#AF2B4A
#AF2B4A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.168 H 12.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B4A |
|---|---|
| RGB | rgb(175, 43, 74) |
| HSL | hsl(346, 61%, 43%) |
| HSV | hsv(346, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 57.7%, 31.4%) |
| CIE-LAB | lab(40.15, 54.30, 14.37) |
| CIE-LCH | lch(40.15, 56.17, 14.82°) |
| OKLab | oklab(50.54% 0.164 0.0358) |
| OKLCH | oklch(50.54% 0.168 12.3) |
| XYZ | xyz(19.7810, 11.3390, 7.6243) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.04
Rouge
#AB1239
ΔE00 4.15
Purplish Red
#B0054B
ΔE00 4.16
Rose Red
#BE013C
ΔE00 4.53
Ruby
#CA0147
ΔE00 4.86
Light Burgundy
#A8415B
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B4A #2BAF90
analogous
#AF2B8C #AF2B4A #AF4E2B
triadic
#AF2B4A #4AAF2B #2B4AAF
tetradic
#AF2B4A #8CAF2B #2BAF90 #4E2BAF
square
#AF2B4A #8CAF2B #2BAF90 #4E2BAF
split-complementary
#AF2B4A #2BAF4E #2B8CAF
monochromatic
#4D1320 #7E1F35 #AF2B4A #D14667 #DE778F
Accessibility & contrast
On white
6.43
#AF2B4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2B4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B4A
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B4A | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4D4A
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#C00038
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2b4a; /* rgb */ color: rgb(175, 43, 74); /* oklch */ color: oklch(50.5% 0.168 12.3);
Tailwind
colors: {
custom: {
50: '#cd707c',
500: '#af2b4a',
950: '#000000',
},
}SCSS
$custom: #af2b4a; $custom-light: #cd707c; $custom-dark: #000000;
JSON
{
"hex": "#af2b4a",
"rgb": {
"r": 175,
"g": 43,
"b": 74
},
"hsl": {
"h": 345.909,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50538,
"c": 0.16783,
"h": 12.3
},
"luminance": 0.11336
}Semantic roles & 50–950 ramp
primary
#AF2B4A
secondary
#70C5B1
accent
#E4BE44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B