#AF2F29#AF2F29
#AF2F29 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 27.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F29 |
|---|---|
| RGB | rgb(175, 47, 41) |
| HSL | hsl(3, 62%, 42%) |
| HSV | hsv(3, 77%, 69%) |
| CMYK | cmyk(0%, 73.1%, 76.6%, 31.4%) |
| CIE-LAB | lab(40.10, 51.06, 34.52) |
| CIE-LCH | lch(40.10, 61.63, 34.07°) |
| OKLab | oklab(50.33% 0.1469 0.0766) |
| OKLCH | oklch(50.33% 0.166 27.6) |
| XYZ | xyz(19.0982, 11.3100, 3.2748) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.71
Brown
#A52A2A
ΔE00 2.85
Scarlet
#BE0119
ΔE00 3.96
Brick
#A03623
ΔE00 4.00
Brownish Red
#9E3623
ΔE00 4.27
Dull Red
#BB3F3F
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F29 #29A9AF
analogous
#AF2966 #AF2F29 #AF7229
triadic
#AF2F29 #29AF2F #2F29AF
tetradic
#AF2F29 #66AF29 #29A9AF #7229AF
square
#AF2F29 #66AF29 #29A9AF #7229AF
split-complementary
#AF2F29 #29AF72 #2966AF
monochromatic
#4C1412 #7D221D #AF2F29 #D34942 #DE7974
Accessibility & contrast
On white
6.44
#AF2F29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2F29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F29
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F29 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2f29; /* rgb */ color: rgb(175, 47, 41); /* oklch */ color: oklch(50.3% 0.166 27.6);
Tailwind
colors: {
custom: {
50: '#cf7163',
500: '#af2f29',
950: '#000000',
},
}SCSS
$custom: #af2f29; $custom-light: #cf7163; $custom-dark: #000000;
JSON
{
"hex": "#af2f29",
"rgb": {
"r": 175,
"g": 47,
"b": 41
},
"hsl": {
"h": 2.687,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50325,
"c": 0.16567,
"h": 27.6
},
"luminance": 0.11307
}Semantic roles & 50–950 ramp
primary
#AF2F29
secondary
#6EC2C6
accent
#DEE543
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79