#AF2845#AF2845
#AF2845 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.170 H 14.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2845 |
|---|---|
| RGB | rgb(175, 40, 69) |
| HSL | hsl(347, 63%, 42%) |
| HSV | hsv(347, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 60.6%, 31.4%) |
| CIE-LAB | lab(39.69, 54.93, 16.91) |
| CIE-LCH | lch(39.69, 57.48, 17.11°) |
| OKLab | oklab(50.17% 0.1651 0.0415) |
| OKLCH | oklch(50.17% 0.17 14.1) |
| XYZ | xyz(19.5142, 11.0641, 6.7371) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.08
Rose Red
#BE013C
ΔE00 3.56
Raspberry (survey)
#B00149
ΔE00 4.59
Ruby
#CA0147
ΔE00 4.66
Purplish Red
#B0054B
ΔE00 4.83
Cranberry
#9E003A
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2845 #28AF92
analogous
#AF2889 #AF2845 #AF4E28
triadic
#AF2845 #45AF28 #2845AF
tetradic
#AF2845 #89AF28 #28AF92 #4E28AF
square
#AF2845 #89AF28 #28AF92 #4E28AF
split-complementary
#AF2845 #28AF4E #2889AF
monochromatic
#4B111E #7D1D31 #AF2845 #D44160 #DF738A
Accessibility & contrast
On white
6.54
#AF2845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2845
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2845 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#706841
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2845; /* rgb */ color: rgb(175, 40, 69); /* oklch */ color: oklch(50.2% 0.170 14.1);
Tailwind
colors: {
custom: {
50: '#ce6f78',
500: '#af2845',
950: '#000000',
},
}SCSS
$custom: #af2845; $custom-light: #ce6f78; $custom-dark: #000000;
JSON
{
"hex": "#af2845",
"rgb": {
"r": 175,
"g": 40,
"b": 69
},
"hsl": {
"h": 347.111,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50165,
"c": 0.17027,
"h": 14.1
},
"luminance": 0.11061
}Semantic roles & 50–950 ramp
primary
#AF2845
secondary
#6DC6B3
accent
#E6C342
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B