#AF2E30#AF2E30
#AF2E30 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 24.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E30 |
|---|---|
| RGB | rgb(175, 46, 48) |
| HSL | hsl(359, 58%, 43%) |
| HSV | hsv(359, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 72.6%, 31.4%) |
| CIE-LAB | lab(40.06, 51.72, 30.36) |
| CIE-LCH | lch(40.06, 59.97, 30.42°) |
| OKLab | oklab(50.32% 0.1505 0.0692) |
| OKLCH | oklch(50.32% 0.166 24.7) |
| XYZ | xyz(19.1919, 11.2843, 3.9633) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.34
Firebrick
#B22222
ΔE00 3.07
Lipstick Red
#C0022F
ΔE00 4.20
Dull Red
#BB3F3F
ΔE00 4.57
Cardinal
#C41E3A
ΔE00 5.02
Scarlet
#BE0119
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E30 #2EAFAD
analogous
#AF2E70 #AF2E30 #AF6C2E
triadic
#AF2E30 #30AF2E #2E30AF
tetradic
#AF2E30 #70AF2E #2EAFAD #6C2EAF
square
#AF2E30 #70AF2E #2EAFAD #6C2EAF
split-complementary
#AF2E30 #2EAF6C #2E70AF
monochromatic
#4E1515 #7F2123 #AF2E30 #D04B4D #DC7B7D
Accessibility & contrast
On white
6.45
#AF2E30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2E30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E30
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E30 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e30; /* rgb */ color: rgb(175, 46, 48); /* oklch */ color: oklch(50.3% 0.166 24.7);
Tailwind
colors: {
custom: {
50: '#cf7168',
500: '#af2e30',
950: '#000000',
},
}SCSS
$custom: #af2e30; $custom-light: #cf7168; $custom-dark: #000000;
JSON
{
"hex": "#af2e30",
"rgb": {
"r": 175,
"g": 46,
"b": 48
},
"hsl": {
"h": 359.07,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50321,
"c": 0.16563,
"h": 24.7
},
"luminance": 0.11281
}Semantic roles & 50–950 ramp
primary
#AF2E30
secondary
#74C5C3
accent
#E2DF46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A