#AF2843#AF2843
#AF2843 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.170 H 15.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2843 |
|---|---|
| RGB | rgb(175, 40, 67) |
| HSL | hsl(348, 63%, 42%) |
| HSV | hsv(348, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 61.7%, 31.4%) |
| CIE-LAB | lab(39.65, 54.80, 18.12) |
| CIE-LCH | lch(39.65, 57.72, 18.29°) |
| OKLab | oklab(50.12% 0.1643 0.0442) |
| OKLCH | oklch(50.12% 0.17 15.1) |
| XYZ | xyz(19.4531, 11.0397, 6.4157) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.82
Rose Red
#BE013C
ΔE00 3.26
Ruby
#CA0147
ΔE00 4.71
Raspberry (survey)
#B00149
ΔE00 5.10
Cardinal
#C41E3A
ΔE00 5.36
Purplish Red
#B0054B
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2843 #28AF94
analogous
#AF2887 #AF2843 #AF5128
triadic
#AF2843 #43AF28 #2843AF
tetradic
#AF2843 #87AF28 #28AF94 #5128AF
square
#AF2843 #87AF28 #28AF94 #5128AF
split-complementary
#AF2843 #28AF51 #2887AF
monochromatic
#4B111D #7D1D30 #AF2843 #D4415E #DF7388
Accessibility & contrast
On white
6.55
#AF2843 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2843 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2843
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2843 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2843 | 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)
#4E4C43
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2843; /* rgb */ color: rgb(175, 40, 67); /* oklch */ color: oklch(50.1% 0.170 15.1);
Tailwind
colors: {
custom: {
50: '#ce6e76',
500: '#af2843',
950: '#000000',
},
}SCSS
$custom: #af2843; $custom-light: #ce6e76; $custom-dark: #000000;
JSON
{
"hex": "#af2843",
"rgb": {
"r": 175,
"g": 40,
"b": 67
},
"hsl": {
"h": 348,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50121,
"c": 0.17018,
"h": 15.1
},
"luminance": 0.11037
}Semantic roles & 50–950 ramp
primary
#AF2843
secondary
#6DC6B4
accent
#E6C542
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B