#AF2541#AF2541
#AF2541 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.173 H 15.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2541 |
|---|---|
| RGB | rgb(175, 37, 65) |
| HSL | hsl(348, 65%, 42%) |
| HSV | hsv(348, 79%, 69%) |
| CMYK | cmyk(0%, 78.9%, 62.9%, 31.4%) |
| CIE-LAB | lab(39.28, 55.60, 18.89) |
| CIE-LCH | lch(39.28, 58.72, 18.77°) |
| OKLab | oklab(49.84% 0.1665 0.0458) |
| OKLCH | oklch(49.84% 0.173 15.4) |
| XYZ | xyz(19.2969, 10.8217, 6.0727) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.38
Rose Red
#BE013C
ΔE00 2.98
Ruby
#CA0147
ΔE00 4.77
Raspberry (survey)
#B00149
ΔE00 5.16
Cardinal
#C41E3A
ΔE00 5.23
Purplish Red
#B0054B
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2541 #25AF93
analogous
#AF2586 #AF2541 #AF4E25
triadic
#AF2541 #41AF25 #2541AF
tetradic
#AF2541 #86AF25 #25AF93 #4E25AF
square
#AF2541 #86AF25 #25AF93 #4E25AF
split-complementary
#AF2541 #25AF4E #2586AF
monochromatic
#4A101B #7C1A2E #AF2541 #D63C5B #E06E85
Accessibility & contrast
On white
6.64
#AF2541 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF2541 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2541
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2541 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2541 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4A41
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2541; /* rgb */ color: rgb(175, 37, 65); /* oklch */ color: oklch(49.8% 0.173 15.4);
Tailwind
colors: {
custom: {
50: '#ce6d75',
500: '#af2541',
950: '#000000',
},
}SCSS
$custom: #af2541; $custom-light: #ce6d75; $custom-dark: #000000;
JSON
{
"hex": "#af2541",
"rgb": {
"r": 175,
"g": 37,
"b": 65
},
"hsl": {
"h": 347.826,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.49835,
"c": 0.17271,
"h": 15.4
},
"luminance": 0.10819
}Semantic roles & 50–950 ramp
primary
#AF2541
secondary
#69C7B4
accent
#E8C640
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B