#AF2F30#AF2F30
#AF2F30 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 25.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F30 |
|---|---|
| RGB | rgb(175, 47, 48) |
| HSL | hsl(360, 58%, 44%) |
| HSV | hsv(360, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 72.6%, 31.4%) |
| CIE-LAB | lab(40.19, 51.36, 30.52) |
| CIE-LCH | lch(40.19, 59.74, 30.72°) |
| OKLab | oklab(50.42% 0.1493 0.0696) |
| OKLCH | oklch(50.42% 0.165 25) |
| XYZ | xyz(19.2314, 11.3633, 3.9764) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.39
Firebrick
#B22222
ΔE00 3.01
Lipstick Red
#C0022F
ΔE00 4.37
Dull Red
#BB3F3F
ΔE00 4.48
Scarlet
#BE0119
ΔE00 5.04
Cardinal
#C41E3A
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F30 #2FAFAE
analogous
#AF2F70 #AF2F30 #AF6E2F
triadic
#AF2F30 #30AF2F #2F30AF
tetradic
#AF2F30 #70AF2F #2FAFAE #6E2FAF
square
#AF2F30 #70AF2F #2FAFAE #6E2FAF
split-complementary
#AF2F30 #2FAF6E #2F70AF
monochromatic
#4F1516 #7F2223 #AF2F30 #CF4C4D #DC7C7D
Accessibility & contrast
On white
6.42
#AF2F30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AF2F30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F30
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F30 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f30; /* rgb */ color: rgb(175, 47, 48); /* oklch */ color: oklch(50.4% 0.165 25.0);
Tailwind
colors: {
custom: {
50: '#cf7168',
500: '#af2f30',
950: '#000000',
},
}SCSS
$custom: #af2f30; $custom-light: #cf7168; $custom-dark: #000000;
JSON
{
"hex": "#af2f30",
"rgb": {
"r": 175,
"g": 47,
"b": 48
},
"hsl": {
"h": 359.531,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50418,
"c": 0.16474,
"h": 25
},
"luminance": 0.1136
}Semantic roles & 50–950 ramp
primary
#AF2F30
secondary
#75C4C4
accent
#E1E047
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A