#AF2848#AF2848
#AF2848 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.170 H 12.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2848 |
|---|---|
| RGB | rgb(175, 40, 72) |
| HSL | hsl(346, 63%, 42%) |
| HSV | hsv(346, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 58.9%, 31.4%) |
| CIE-LAB | lab(39.75, 55.14, 15.10) |
| CIE-LCH | lch(39.75, 57.17, 15.31°) |
| OKLab | oklab(50.23% 0.1663 0.0374) |
| OKLCH | oklch(50.23% 0.17 12.7) |
| XYZ | xyz(19.6096, 11.1023, 7.2400) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.65
Raspberry (survey)
#B00149
ΔE00 3.89
Purplish Red
#B0054B
ΔE00 4.07
Rose Red
#BE013C
ΔE00 4.16
Ruby
#CA0147
ΔE00 4.77
Light Burgundy
#A8415B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2848 #28AF8F
analogous
#AF288C #AF2848 #AF4C28
triadic
#AF2848 #48AF28 #2848AF
tetradic
#AF2848 #8CAF28 #28AF8F #4C28AF
square
#AF2848 #8CAF28 #28AF8F #4C28AF
split-complementary
#AF2848 #28AF4C #288CAF
monochromatic
#4B111F #7D1D34 #AF2848 #D44163 #DF738C
Accessibility & contrast
On white
6.52
#AF2848 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2848 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2848
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2848 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2848; /* rgb */ color: rgb(175, 40, 72); /* oklch */ color: oklch(50.2% 0.170 12.7);
Tailwind
colors: {
custom: {
50: '#ce6f7a',
500: '#af2848',
950: '#000000',
},
}SCSS
$custom: #af2848; $custom-light: #ce6f7a; $custom-dark: #000000;
JSON
{
"hex": "#af2848",
"rgb": {
"r": 175,
"g": 40,
"b": 72
},
"hsl": {
"h": 345.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50233,
"c": 0.17049,
"h": 12.7
},
"luminance": 0.11099
}Semantic roles & 50–950 ramp
primary
#AF2848
secondary
#6DC6B1
accent
#E6BF42
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B