#AF2C30#AF2C30
#AF2C30 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.167 H 24.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C30 |
|---|---|
| RGB | rgb(175, 44, 48) |
| HSL | hsl(358, 60%, 43%) |
| HSV | hsv(358, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 72.6%, 31.4%) |
| CIE-LAB | lab(39.80, 52.42, 30.07) |
| CIE-LCH | lch(39.80, 60.43, 29.84°) |
| OKLab | oklab(50.13% 0.1527 0.0686) |
| OKLCH | oklch(50.13% 0.167 24.2) |
| XYZ | xyz(19.1156, 11.1317, 3.9378) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.30
Firebrick
#B22222
ΔE00 3.23
Lipstick Red
#C0022F
ΔE00 3.90
Dull Red
#BB3F3F
ΔE00 4.77
Cardinal
#C41E3A
ΔE00 4.81
Scarlet
#BE0119
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C30 #2CAFAB
analogous
#AF2C71 #AF2C30 #AF692C
triadic
#AF2C30 #30AF2C #2C30AF
tetradic
#AF2C30 #71AF2C #2CAFAB #692CAF
square
#AF2C30 #71AF2C #2CAFAB #692CAF
split-complementary
#AF2C30 #2CAF69 #2C71AF
monochromatic
#4D1315 #7E2023 #AF2C30 #D1474C #DD787B
Accessibility & contrast
On white
6.51
#AF2C30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF2C30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C30
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C30 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C2F
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2c30; /* rgb */ color: rgb(175, 44, 48); /* oklch */ color: oklch(50.1% 0.167 24.2);
Tailwind
colors: {
custom: {
50: '#cf7068',
500: '#af2c30',
950: '#000000',
},
}SCSS
$custom: #af2c30; $custom-light: #cf7068; $custom-dark: #000000;
JSON
{
"hex": "#af2c30",
"rgb": {
"r": 175,
"g": 44,
"b": 48
},
"hsl": {
"h": 358.168,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50132,
"c": 0.16741,
"h": 24.2
},
"luminance": 0.11129
}Semantic roles & 50–950 ramp
primary
#AF2C30
secondary
#72C5C3
accent
#E3DE45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A