#AF2C2A#AF2C2A
#AF2C2A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.168 H 26.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C2A |
|---|---|
| RGB | rgb(175, 44, 42) |
| HSL | hsl(1, 61%, 43%) |
| HSV | hsv(1, 76%, 69%) |
| CMYK | cmyk(0%, 74.9%, 76%, 31.4%) |
| CIE-LAB | lab(39.72, 52.16, 33.54) |
| CIE-LCH | lch(39.72, 62.01, 32.74°) |
| OKLab | oklab(50.05% 0.1506 0.0748) |
| OKLCH | oklch(50.05% 0.168 26.4) |
| XYZ | xyz(19.0000, 11.0854, 3.3293) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.67
Brown
#A52A2A
ΔE00 2.26
Scarlet
#BE0119
ΔE00 3.97
Brick
#A03623
ΔE00 4.62
Brownish Red
#9E3623
ΔE00 4.85
Lipstick Red
#C0022F
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C2A #2AADAF
analogous
#AF2A6B #AF2C2A #AF6E2A
triadic
#AF2C2A #2AAF2C #2C2AAF
tetradic
#AF2C2A #6BAF2A #2AADAF #6E2AAF
square
#AF2C2A #6BAF2A #2AADAF #6E2AAF
split-complementary
#AF2C2A #2AAF6E #2A6BAF
monochromatic
#4C1312 #7E201E #AF2C2A #D24644 #DE7775
Accessibility & contrast
On white
6.53
#AF2C2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2C2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C2A
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C2A | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2c2a; /* rgb */ color: rgb(175, 44, 42); /* oklch */ color: oklch(50.0% 0.168 26.4);
Tailwind
colors: {
custom: {
50: '#cf7064',
500: '#af2c2a',
950: '#000000',
},
}SCSS
$custom: #af2c2a; $custom-light: #cf7064; $custom-dark: #000000;
JSON
{
"hex": "#af2c2a",
"rgb": {
"r": 175,
"g": 44,
"b": 42
},
"hsl": {
"h": 0.902,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.5005,
"c": 0.16813,
"h": 26.4
},
"luminance": 0.11082
}Semantic roles & 50–950 ramp
primary
#AF2C2A
secondary
#6FC4C6
accent
#E2E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A