#AF2930#AF2930
#AF2930 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 23.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2930 |
|---|---|
| RGB | rgb(175, 41, 48) |
| HSL | hsl(357, 62%, 42%) |
| HSV | hsv(357, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 72.6%, 31.4%) |
| CIE-LAB | lab(39.44, 53.43, 29.65) |
| CIE-LCH | lch(39.44, 61.11, 29.02°) |
| OKLab | oklab(49.86% 0.1559 0.0676) |
| OKLCH | oklch(49.86% 0.17 23.5) |
| XYZ | xyz(19.0078, 10.9162, 3.9019) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.38
Lipstick Red
#C0022F
ΔE00 3.53
Firebrick
#B22222
ΔE00 3.54
Cardinal
#C41E3A
ΔE00 4.58
Dull Red
#BB3F3F
ΔE00 5.10
Scarlet
#BE0119
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2930 #29AFA8
analogous
#AF2973 #AF2930 #AF6529
triadic
#AF2930 #30AF29 #2930AF
tetradic
#AF2930 #73AF29 #29AFA8 #6529AF
square
#AF2930 #73AF29 #29AFA8 #6529AF
split-complementary
#AF2930 #29AF65 #2973AF
monochromatic
#4C1215 #7D1D22 #AF2930 #D3424A #DE747A
Accessibility & contrast
On white
6.60
#AF2930 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2930 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2930
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2930 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2930 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B2F
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2930; /* rgb */ color: rgb(175, 41, 48); /* oklch */ color: oklch(49.9% 0.170 23.5);
Tailwind
colors: {
custom: {
50: '#cf6e68',
500: '#af2930',
950: '#000000',
},
}SCSS
$custom: #af2930; $custom-light: #cf6e68; $custom-dark: #000000;
JSON
{
"hex": "#af2930",
"rgb": {
"r": 175,
"g": 41,
"b": 48
},
"hsl": {
"h": 356.866,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.49862,
"c": 0.16997,
"h": 23.5
},
"luminance": 0.10913
}Semantic roles & 50–950 ramp
primary
#AF2930
secondary
#6EC6C1
accent
#E5DD43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A