#AF2046#AF2046
#AF2046 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 12.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2046 |
|---|---|
| RGB | rgb(175, 32, 70) |
| HSL | hsl(344, 69%, 41%) |
| HSV | hsv(344, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 60%, 31.4%) |
| CIE-LAB | lab(38.88, 57.33, 15.20) |
| CIE-LCH | lch(38.88, 59.31, 14.85°) |
| OKLab | oklab(49.58% 0.1731 0.0376) |
| OKLCH | oklch(49.58% 0.177 12.2) |
| XYZ | xyz(19.3032, 10.5921, 6.8212) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.10
Rouge
#AB1239
ΔE00 3.16
Purplish Red
#B0054B
ΔE00 3.36
Rose Red
#BE013C
ΔE00 4.05
Cranberry
#9E003A
ΔE00 4.85
Ruby
#CA0147
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2046 #20AF89
analogous
#AF208D #AF2046 #AF4120
triadic
#AF2046 #46AF20 #2046AF
tetradic
#AF2046 #8DAF20 #20AF89 #4120AF
square
#AF2046 #8DAF20 #20AF89 #4120AF
split-complementary
#AF2046 #20AF41 #208DAF
monochromatic
#480D1D #7B1731 #AF2046 #DA335F #E36687
Accessibility & contrast
On white
6.74
#AF2046 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF2046 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2046
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2046 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4946
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2046; /* rgb */ color: rgb(175, 32, 70); /* oklch */ color: oklch(49.6% 0.177 12.2);
Tailwind
colors: {
custom: {
50: '#ce6c79',
500: '#af2046',
950: '#000000',
},
}SCSS
$custom: #af2046; $custom-light: #ce6c79; $custom-dark: #000000;
JSON
{
"hex": "#af2046",
"rgb": {
"r": 175,
"g": 32,
"b": 70
},
"hsl": {
"h": 344.056,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49578,
"c": 0.17708,
"h": 12.2
},
"luminance": 0.10589
}Semantic roles & 50–950 ramp
primary
#AF2046
secondary
#62C8AD
accent
#ECBD3C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150809
muted
#837A7B