#AF2842#AF2842
#AF2842 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.170 H 15.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2842 |
|---|---|
| RGB | rgb(175, 40, 66) |
| HSL | hsl(348, 63%, 42%) |
| HSV | hsv(348, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 62.3%, 31.4%) |
| CIE-LAB | lab(39.63, 54.74, 18.72) |
| CIE-LCH | lch(39.63, 57.85, 18.88°) |
| OKLab | oklab(50.1% 0.1639 0.0455) |
| OKLCH | oklch(50.1% 0.17 15.5) |
| XYZ | xyz(19.4234, 11.0278, 6.2590) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.75
Rose Red
#BE013C
ΔE00 3.15
Ruby
#CA0147
ΔE00 4.77
Cardinal
#C41E3A
ΔE00 5.14
Raspberry (survey)
#B00149
ΔE00 5.37
Purplish Red
#B0054B
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2842 #28AF95
analogous
#AF2886 #AF2842 #AF5128
triadic
#AF2842 #42AF28 #2842AF
tetradic
#AF2842 #86AF28 #28AF95 #5128AF
square
#AF2842 #86AF28 #28AF95 #5128AF
split-complementary
#AF2842 #28AF51 #2886AF
monochromatic
#4B111C #7D1D2F #AF2842 #D4415D #DF7387
Accessibility & contrast
On white
6.55
#AF2842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2842 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2842
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2842 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2842; /* rgb */ color: rgb(175, 40, 66); /* oklch */ color: oklch(50.1% 0.170 15.5);
Tailwind
colors: {
custom: {
50: '#ce6e76',
500: '#af2842',
950: '#000000',
},
}SCSS
$custom: #af2842; $custom-light: #ce6e76; $custom-dark: #000000;
JSON
{
"hex": "#af2842",
"rgb": {
"r": 175,
"g": 40,
"b": 66
},
"hsl": {
"h": 348.444,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.501,
"c": 0.17014,
"h": 15.5
},
"luminance": 0.11025
}Semantic roles & 50–950 ramp
primary
#AF2842
secondary
#6DC6B5
accent
#E6C642
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B