#AF2638#AF2638
#AF2638 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 19.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2638 |
|---|---|
| RGB | rgb(175, 38, 56) |
| HSL | hsl(352, 64%, 42%) |
| HSV | hsv(352, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 68%, 31.4%) |
| CIE-LAB | lab(39.22, 54.78, 24.47) |
| CIE-LCH | lch(39.22, 60.00, 24.07°) |
| OKLab | oklab(49.74% 0.162 0.0575) |
| OKLCH | oklch(49.74% 0.172 19.5) |
| XYZ | xyz(19.0882, 10.7886, 4.8179) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.52
Rose Red
#BE013C
ΔE00 3.60
Lipstick Red
#C0022F
ΔE00 3.63
Cardinal
#C41E3A
ΔE00 3.89
Brown
#A52A2A
ΔE00 4.70
Cherry (survey)
#CF0234
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2638 #26AF9D
analogous
#AF267D #AF2638 #AF5926
triadic
#AF2638 #38AF26 #2638AF
tetradic
#AF2638 #7DAF26 #26AF9D #5926AF
square
#AF2638 #7DAF26 #26AF9D #5926AF
split-complementary
#AF2638 #26AF59 #267DAF
monochromatic
#4A1018 #7D1B28 #AF2638 #D53D51 #E0707E
Accessibility & contrast
On white
6.65
#AF2638 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF2638 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2638
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2638 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2638 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2638; /* rgb */ color: rgb(175, 38, 56); /* oklch */ color: oklch(49.7% 0.172 19.5);
Tailwind
colors: {
custom: {
50: '#cf6d6e',
500: '#af2638',
950: '#000000',
},
}SCSS
$custom: #af2638; $custom-light: #cf6d6e; $custom-dark: #000000;
JSON
{
"hex": "#af2638",
"rgb": {
"r": 175,
"g": 38,
"b": 56
},
"hsl": {
"h": 352.117,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49741,
"c": 0.17191,
"h": 19.5
},
"luminance": 0.10786
}Semantic roles & 50–950 ramp
primary
#AF2638
secondary
#6AC7BA
accent
#E7D140
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A