#AF2E4F#AF2E4F
#AF2E4F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 10.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E4F |
|---|---|
| RGB | rgb(175, 46, 79) |
| HSL | hsl(345, 58%, 43%) |
| HSV | hsv(345, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 54.9%, 31.4%) |
| CIE-LAB | lab(40.63, 53.64, 11.88) |
| CIE-LCH | lch(40.63, 54.94, 12.49°) |
| OKLab | oklab(50.93% 0.1626 0.0301) |
| OKLCH | oklch(50.93% 0.165 10.5) |
| XYZ | xyz(20.0693, 11.6353, 8.5847) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.88
Purplish Red
#B0054B
ΔE00 3.90
Raspberry (survey)
#B00149
ΔE00 3.94
Light Maroon
#A24857
ΔE00 5.23
Rouge
#AB1239
ΔE00 5.34
Ruby
#CA0147
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E4F #2EAF8E
analogous
#AF2E8F #AF2E4F #AF4D2E
triadic
#AF2E4F #4FAF2E #2E4FAF
tetradic
#AF2E4F #8FAF2E #2EAF8E #4D2EAF
square
#AF2E4F #8FAF2E #2EAF8E #4D2EAF
split-complementary
#AF2E4F #2EAF4D #2E8FAF
monochromatic
#4E1523 #7F2139 #AF2E4F #D04B6D #DC7B94
Accessibility & contrast
On white
6.31
#AF2E4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2E4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E4F
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E4F | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#BF0B3C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e4f; /* rgb */ color: rgb(175, 46, 79); /* oklch */ color: oklch(50.9% 0.165 10.5);
Tailwind
colors: {
custom: {
50: '#cd7180',
500: '#af2e4f',
950: '#000000',
},
}SCSS
$custom: #af2e4f; $custom-light: #cd7180; $custom-dark: #000000;
JSON
{
"hex": "#af2e4f",
"rgb": {
"r": 175,
"g": 46,
"b": 79
},
"hsl": {
"h": 344.651,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50934,
"c": 0.16536,
"h": 10.5
},
"luminance": 0.11632
}Semantic roles & 50–950 ramp
primary
#AF2E4F
secondary
#74C5B0
accent
#E2BA46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C