#AF2045#AF2045
#AF2045 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 12.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2045 |
|---|---|
| RGB | rgb(175, 32, 69) |
| HSL | hsl(344, 69%, 41%) |
| HSV | hsv(344, 82%, 69%) |
| CMYK | cmyk(0%, 81.7%, 60.6%, 31.4%) |
| CIE-LAB | lab(38.86, 57.26, 15.80) |
| CIE-LCH | lch(38.86, 59.40, 15.43°) |
| OKLab | oklab(49.56% 0.1727 0.0389) |
| OKLCH | oklch(49.56% 0.177 12.7) |
| XYZ | xyz(19.2719, 10.5796, 6.6564) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.90
Raspberry (survey)
#B00149
ΔE00 3.35
Purplish Red
#B0054B
ΔE00 3.63
Rose Red
#BE013C
ΔE00 3.81
Ruby
#CA0147
ΔE00 4.82
Cranberry
#9E003A
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2045 #20AF8A
analogous
#AF208C #AF2045 #AF4320
triadic
#AF2045 #45AF20 #2045AF
tetradic
#AF2045 #8CAF20 #20AF8A #4320AF
square
#AF2045 #8CAF20 #20AF8A #4320AF
split-complementary
#AF2045 #20AF43 #208CAF
monochromatic
#480D1C #7B1731 #AF2045 #DA335E #E36687
Accessibility & contrast
On white
6.74
#AF2045 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF2045 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2045
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2045 | 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)
#4A4945
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af2045; /* rgb */ color: rgb(175, 32, 69); /* oklch */ color: oklch(49.6% 0.177 12.7);
Tailwind
colors: {
custom: {
50: '#ce6c78',
500: '#af2045',
950: '#000000',
},
}SCSS
$custom: #af2045; $custom-light: #ce6c78; $custom-dark: #000000;
JSON
{
"hex": "#af2045",
"rgb": {
"r": 175,
"g": 32,
"b": 69
},
"hsl": {
"h": 344.476,
"s": 69.082,
"l": 40.588
},
"oklch": {
"l": 0.49555,
"c": 0.17698,
"h": 12.7
},
"luminance": 0.10577
}Semantic roles & 50–950 ramp
primary
#AF2045
secondary
#62C8AE
accent
#ECBE3C
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B