#AF2938#AF2938
#AF2938 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 20.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2938 |
|---|---|
| RGB | rgb(175, 41, 56) |
| HSL | hsl(353, 62%, 42%) |
| HSV | hsv(353, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 68%, 31.4%) |
| CIE-LAB | lab(39.56, 53.83, 24.89) |
| CIE-LCH | lch(39.56, 59.31, 24.82°) |
| OKLab | oklab(49.99% 0.159 0.0585) |
| OKLCH | oklch(49.99% 0.169 20.2) |
| XYZ | xyz(19.1881, 10.9883, 4.8512) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.60
Cardinal
#C41E3A
ΔE00 3.79
Rose Red
#BE013C
ΔE00 4.00
Rouge
#AB1239
ΔE00 4.07
Brown
#A52A2A
ΔE00 4.38
Dull Red
#BB3F3F
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2938 #29AFA0
analogous
#AF297B #AF2938 #AF5D29
triadic
#AF2938 #38AF29 #2938AF
tetradic
#AF2938 #7BAF29 #29AFA0 #5D29AF
square
#AF2938 #7BAF29 #29AFA0 #5D29AF
split-complementary
#AF2938 #29AF5D #297BAF
monochromatic
#4C1218 #7D1D28 #AF2938 #D34253 #DE7480
Accessibility & contrast
On white
6.57
#AF2938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2938
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2938 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504B37
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2938; /* rgb */ color: rgb(175, 41, 56); /* oklch */ color: oklch(50.0% 0.169 20.2);
Tailwind
colors: {
custom: {
50: '#cf6f6e',
500: '#af2938',
950: '#000000',
},
}SCSS
$custom: #af2938; $custom-light: #cf6f6e; $custom-dark: #000000;
JSON
{
"hex": "#af2938",
"rgb": {
"r": 175,
"g": 41,
"b": 56
},
"hsl": {
"h": 353.284,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.49992,
"c": 0.16937,
"h": 20.2
},
"luminance": 0.10985
}Semantic roles & 50–950 ramp
primary
#AF2938
secondary
#6EC6BC
accent
#E5D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A