#AF2D2C#AF2D2C
#AF2D2C is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 25.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D2C |
|---|---|
| RGB | rgb(175, 45, 44) |
| HSL | hsl(0, 60%, 43%) |
| HSV | hsv(0, 75%, 69%) |
| CMYK | cmyk(0%, 74.3%, 74.9%, 31.4%) |
| CIE-LAB | lab(39.87, 51.90, 32.53) |
| CIE-LCH | lch(39.87, 61.25, 32.08°) |
| OKLab | oklab(50.17% 0.1502 0.0731) |
| OKLCH | oklch(50.17% 0.167 25.9) |
| XYZ | xyz(19.0744, 11.1755, 3.5351) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.09
Brown
#A52A2A
ΔE00 2.20
Scarlet
#BE0119
ΔE00 4.30
Lipstick Red
#C0022F
ΔE00 4.76
Brick
#A03623
ΔE00 4.93
Dull Red
#BB3F3F
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D2C #2CAEAF
analogous
#AF2C6C #AF2D2C #AF6E2C
triadic
#AF2D2C #2CAF2D #2D2CAF
tetradic
#AF2D2C #6CAF2C #2CAEAF #6E2CAF
square
#AF2D2C #6CAF2C #2CAEAF #6E2CAF
split-complementary
#AF2D2C #2CAF6E #2C6CAF
monochromatic
#4D1413 #7E2020 #AF2D2C #D14847 #DD7978
Accessibility & contrast
On white
6.49
#AF2D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF2D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D2C
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D2C | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C2A
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2d2c; /* rgb */ color: rgb(175, 45, 44); /* oklch */ color: oklch(50.2% 0.167 25.9);
Tailwind
colors: {
custom: {
50: '#cf7065',
500: '#af2d2c',
950: '#000000',
},
}SCSS
$custom: #af2d2c; $custom-light: #cf7065; $custom-dark: #000000;
JSON
{
"hex": "#af2d2c",
"rgb": {
"r": 175,
"g": 45,
"b": 44
},
"hsl": {
"h": 0.458,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.5017,
"c": 0.16701,
"h": 25.9
},
"luminance": 0.11173
}Semantic roles & 50–950 ramp
primary
#AF2D2C
secondary
#72C4C5
accent
#E2E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A