#AF2729#AF2729
#AF2729 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 25.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2729 |
|---|---|
| RGB | rgb(175, 39, 41) |
| HSL | hsl(359, 64%, 42%) |
| HSV | hsv(359, 78%, 69%) |
| CMYK | cmyk(0%, 77.7%, 76.6%, 31.4%) |
| CIE-LAB | lab(39.12, 53.78, 33.46) |
| CIE-LCH | lch(39.12, 63.34, 31.88°) |
| OKLab | oklab(49.6% 0.1555 0.0743) |
| OKLCH | oklch(49.6% 0.172 25.5) |
| XYZ | xyz(18.8072, 10.7281, 3.1778) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.69
Brown
#A52A2A
ΔE00 1.93
Scarlet
#BE0119
ΔE00 3.87
Lipstick Red
#C0022F
ΔE00 4.48
Brick
#A03623
ΔE00 5.14
Brownish Red
#9E3623
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2729 #27AFAD
analogous
#AF276D #AF2729 #AF6927
triadic
#AF2729 #29AF27 #2729AF
tetradic
#AF2729 #6DAF27 #27AFAD #6927AF
square
#AF2729 #6DAF27 #27AFAD #6927AF
split-complementary
#AF2729 #27AF69 #276DAF
monochromatic
#4B1112 #7D1C1D #AF2729 #D43F41 #DF7173
Accessibility & contrast
On white
6.68
#AF2729 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#AF2729 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2729
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2729 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2729 | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514927
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2729; /* rgb */ color: rgb(175, 39, 41); /* oklch */ color: oklch(49.6% 0.172 25.5);
Tailwind
colors: {
custom: {
50: '#d06d63',
500: '#af2729',
950: '#000000',
},
}SCSS
$custom: #af2729; $custom-light: #d06d63; $custom-dark: #000000;
JSON
{
"hex": "#af2729",
"rgb": {
"r": 175,
"g": 39,
"b": 41
},
"hsl": {
"h": 359.118,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.49595,
"c": 0.17233,
"h": 25.5
},
"luminance": 0.10725
}Semantic roles & 50–950 ramp
primary
#AF2729
secondary
#6BC6C5
accent
#E7E441
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79