#AF2846#AF2846
#AF2846 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.170 H 13.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2846 |
|---|---|
| RGB | rgb(175, 40, 70) |
| HSL | hsl(347, 63%, 42%) |
| HSV | hsv(347, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 60%, 31.4%) |
| CIE-LAB | lab(39.71, 55.00, 16.31) |
| CIE-LCH | lch(39.71, 57.37, 16.51°) |
| OKLab | oklab(50.19% 0.1655 0.0402) |
| OKLCH | oklch(50.19% 0.17 13.6) |
| XYZ | xyz(19.5455, 11.0766, 6.9020) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.25
Rose Red
#BE013C
ΔE00 3.74
Raspberry (survey)
#B00149
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.57
Ruby
#CA0147
ΔE00 4.68
Cranberry
#9E003A
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2846 #28AF91
analogous
#AF2889 #AF2846 #AF4E28
triadic
#AF2846 #46AF28 #2846AF
tetradic
#AF2846 #89AF28 #28AF91 #4E28AF
square
#AF2846 #89AF28 #28AF91 #4E28AF
split-complementary
#AF2846 #28AF4E #2889AF
monochromatic
#4B111E #7D1D32 #AF2846 #D44161 #DF738B
Accessibility & contrast
On white
6.53
#AF2846 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2846 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2846
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2846 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2846 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4C46
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2846; /* rgb */ color: rgb(175, 40, 70); /* oklch */ color: oklch(50.2% 0.170 13.6);
Tailwind
colors: {
custom: {
50: '#ce6f79',
500: '#af2846',
950: '#000000',
},
}SCSS
$custom: #af2846; $custom-light: #ce6f79; $custom-dark: #000000;
JSON
{
"hex": "#af2846",
"rgb": {
"r": 175,
"g": 40,
"b": 70
},
"hsl": {
"h": 346.667,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50187,
"c": 0.17033,
"h": 13.6
},
"luminance": 0.11074
}Semantic roles & 50–950 ramp
primary
#AF2846
secondary
#6DC6B2
accent
#E6C142
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B