#AF2129#AF2129
#AF2129 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 24.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2129 |
|---|---|
| RGB | rgb(175, 33, 41) |
| HSL | hsl(357, 68%, 41%) |
| HSV | hsv(357, 81%, 69%) |
| CMYK | cmyk(0%, 81.1%, 76.6%, 31.4%) |
| CIE-LAB | lab(38.49, 55.55, 32.76) |
| CIE-LCH | lch(38.49, 64.49, 30.53°) |
| OKLab | oklab(49.13% 0.1611 0.0728) |
| OKLCH | oklch(49.13% 0.177 24.3) |
| XYZ | xyz(18.6255, 10.3648, 3.1173) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.95
Firebrick
#B22222
ΔE00 2.40
Lipstick Red
#C0022F
ΔE00 3.83
Scarlet
#BE0119
ΔE00 4.19
Carmine
#9D0216
ΔE00 5.32
Cardinal
#C41E3A
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2129 #21AFA7
analogous
#AF2170 #AF2129 #AF6021
triadic
#AF2129 #29AF21 #2129AF
tetradic
#AF2129 #70AF21 #21AFA7 #6021AF
square
#AF2129 #70AF21 #21AFA7 #6021AF
split-complementary
#AF2129 #21AF60 #2170AF
monochromatic
#480E11 #7C171D #AF2129 #D9343E #E3686F
Accessibility & contrast
On white
6.84
#AF2129 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AF2129 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2129
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2129 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2129 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4728
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#C10026
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af2129; /* rgb */ color: rgb(175, 33, 41); /* oklch */ color: oklch(49.1% 0.177 24.3);
Tailwind
colors: {
custom: {
50: '#d06b63',
500: '#af2129',
950: '#000000',
},
}SCSS
$custom: #af2129; $custom-light: #d06b63; $custom-dark: #000000;
JSON
{
"hex": "#af2129",
"rgb": {
"r": 175,
"g": 33,
"b": 41
},
"hsl": {
"h": 356.62,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.49128,
"c": 0.17678,
"h": 24.3
},
"luminance": 0.10362
}Semantic roles & 50–950 ramp
primary
#AF2129
secondary
#64C8C2
accent
#EBE13D
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79