#AF2839#AF2839
#AF2839 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 19.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2839 |
|---|---|
| RGB | rgb(175, 40, 57) |
| HSL | hsl(352, 63%, 42%) |
| HSV | hsv(352, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 67.4%, 31.4%) |
| CIE-LAB | lab(39.46, 54.21, 24.15) |
| CIE-LCH | lch(39.46, 59.34, 24.01°) |
| OKLab | oklab(49.92% 0.1604 0.0569) |
| OKLCH | oklch(49.92% 0.17 19.5) |
| XYZ | xyz(19.1786, 10.9299, 4.9699) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.65
Rose Red
#BE013C
ΔE00 3.66
Lipstick Red
#C0022F
ΔE00 3.75
Cardinal
#C41E3A
ΔE00 3.84
Brown
#A52A2A
ΔE00 4.78
Dull Red
#BB3F3F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2839 #28AF9E
analogous
#AF287D #AF2839 #AF5A28
triadic
#AF2839 #39AF28 #2839AF
tetradic
#AF2839 #7DAF28 #28AF9E #5A28AF
square
#AF2839 #7DAF28 #28AF9E #5A28AF
split-complementary
#AF2839 #28AF5A #287DAF
monochromatic
#4B1119 #7D1D29 #AF2839 #D44153 #DF7380
Accessibility & contrast
On white
6.59
#AF2839 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF2839 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2839
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2839 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2839 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504B39
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2839; /* rgb */ color: rgb(175, 40, 57); /* oklch */ color: oklch(49.9% 0.170 19.5);
Tailwind
colors: {
custom: {
50: '#cf6e6f',
500: '#af2839',
950: '#000000',
},
}SCSS
$custom: #af2839; $custom-light: #cf6e6f; $custom-dark: #000000;
JSON
{
"hex": "#af2839",
"rgb": {
"r": 175,
"g": 40,
"b": 57
},
"hsl": {
"h": 352.444,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.49924,
"c": 0.17019,
"h": 19.5
},
"luminance": 0.10927
}Semantic roles & 50–950 ramp
primary
#AF2839
secondary
#6DC6BB
accent
#E6D142
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A