#AF2A49#AF2A49
#AF2A49 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.169 H 12.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A49 |
|---|---|
| RGB | rgb(175, 42, 73) |
| HSL | hsl(346, 61%, 43%) |
| HSV | hsv(346, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 58.3%, 31.4%) |
| CIE-LAB | lab(40.00, 54.56, 14.81) |
| CIE-LCH | lch(40.00, 56.53, 15.19°) |
| OKLab | oklab(50.43% 0.1646 0.0368) |
| OKLCH | oklch(50.43% 0.169 12.6) |
| XYZ | xyz(19.7117, 11.2538, 7.4363) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.91
Raspberry (survey)
#B00149
ΔE00 4.05
Purplish Red
#B0054B
ΔE00 4.19
Rose Red
#BE013C
ΔE00 4.33
Ruby
#CA0147
ΔE00 4.80
Light Burgundy
#A8415B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A49 #2AAF90
analogous
#AF2A8B #AF2A49 #AF4E2A
triadic
#AF2A49 #49AF2A #2A49AF
tetradic
#AF2A49 #8BAF2A #2AAF90 #4E2AAF
square
#AF2A49 #8BAF2A #2AAF90 #4E2AAF
split-complementary
#AF2A49 #2AAF4E #2A8BAF
monochromatic
#4C1220 #7E1E34 #AF2A49 #D24465 #DE758E
Accessibility & contrast
On white
6.46
#AF2A49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2A49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A49
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A49 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4D49
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a49; /* rgb */ color: rgb(175, 42, 73); /* oklch */ color: oklch(50.4% 0.169 12.6);
Tailwind
colors: {
custom: {
50: '#ce6f7b',
500: '#af2a49',
950: '#000000',
},
}SCSS
$custom: #af2a49; $custom-light: #ce6f7b; $custom-dark: #000000;
JSON
{
"hex": "#af2a49",
"rgb": {
"r": 175,
"g": 42,
"b": 73
},
"hsl": {
"h": 346.015,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50427,
"c": 0.1687,
"h": 12.6
},
"luminance": 0.11251
}Semantic roles & 50–950 ramp
primary
#AF2A49
secondary
#6FC6B1
accent
#E4BF43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B