#AF2F2D#AF2F2D
#AF2F2D is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.165 H 26.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F2D |
|---|---|
| RGB | rgb(175, 47, 45) |
| HSL | hsl(1, 59%, 43%) |
| HSV | hsv(1, 74%, 69%) |
| CMYK | cmyk(0%, 73.1%, 74.3%, 31.4%) |
| CIE-LAB | lab(40.15, 51.22, 32.25) |
| CIE-LCH | lch(40.15, 60.53, 32.20°) |
| OKLab | oklab(50.38% 0.1483 0.0727) |
| OKLCH | oklch(50.38% 0.165 26.1) |
| XYZ | xyz(19.1716, 11.3394, 3.6614) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.29
Brown
#A52A2A
ΔE00 2.38
Scarlet
#BE0119
ΔE00 4.47
Dull Red
#BB3F3F
ΔE00 4.82
Brick
#A03623
ΔE00 4.87
Lipstick Red
#C0022F
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F2D #2DADAF
analogous
#AF2D6C #AF2F2D #AF702D
triadic
#AF2F2D #2DAF2F #2F2DAF
tetradic
#AF2F2D #6CAF2D #2DADAF #702DAF
square
#AF2F2D #6CAF2D #2DADAF #702DAF
split-complementary
#AF2F2D #2DAF70 #2D6CAF
monochromatic
#4E1514 #7E2220 #AF2F2D #D04B49 #DD7B7A
Accessibility & contrast
On white
6.43
#AF2F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F2D
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F2D | 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)
#554D2B
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f2d; /* rgb */ color: rgb(175, 47, 45); /* oklch */ color: oklch(50.4% 0.165 26.1);
Tailwind
colors: {
custom: {
50: '#cf7166',
500: '#af2f2d',
950: '#000000',
},
}SCSS
$custom: #af2f2d; $custom-light: #cf7166; $custom-dark: #000000;
JSON
{
"hex": "#af2f2d",
"rgb": {
"r": 175,
"g": 47,
"b": 45
},
"hsl": {
"h": 0.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50376,
"c": 0.16512,
"h": 26.1
},
"luminance": 0.11336
}Semantic roles & 50–950 ramp
primary
#AF2F2D
secondary
#73C4C5
accent
#E0E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A