#AF345D#AF345D
#AF345D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.9% C 0.161 H 4.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF345D |
|---|---|
| RGB | rgb(175, 52, 93) |
| HSL | hsl(340, 54%, 45%) |
| HSV | hsv(340, 70%, 69%) |
| CMYK | cmyk(0%, 70.3%, 46.9%, 31.4%) |
| CIE-LAB | lab(41.79, 52.63, 4.71) |
| CIE-LCH | lch(41.79, 52.84, 5.12°) |
| OKLab | oklab(51.91% 0.1608 0.0126) |
| OKLCH | oklch(51.91% 0.161 4.5) |
| XYZ | xyz(20.8846, 12.3629, 11.6403) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.00
Deep Pink
#CB0162
ΔE00 5.14
Purplish Red
#B0054B
ΔE00 5.14
Raspberry (survey)
#B00149
ΔE00 5.52
Dark Rose
#B5485D
ΔE00 5.69
Light Maroon
#A24857
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF345D #34AF86
analogous
#AF349B #AF345D #AF4934
triadic
#AF345D #5DAF34 #345DAF
tetradic
#AF345D #9BAF34 #34AF86 #4934AF
square
#AF345D #9BAF34 #34AF86 #4934AF
split-complementary
#AF345D #34AF49 #349BAF
monochromatic
#51182B #802644 #AF345D #CC547C #DA83A0
Accessibility & contrast
On white
6.05
#AF345D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#AF345D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF345D
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF345D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF345D | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F535E
Deuteranopia (green-blind)
#706B5A
Tritanopia (blue-blind)
#BE2045
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af345d; /* rgb */ color: rgb(175, 52, 93); /* oklch */ color: oklch(51.9% 0.161 4.5);
Tailwind
colors: {
custom: {
50: '#cc758a',
500: '#af345d',
950: '#000000',
},
}SCSS
$custom: #af345d; $custom-light: #cc758a; $custom-dark: #000000;
JSON
{
"hex": "#af345d",
"rgb": {
"r": 175,
"g": 52,
"b": 93
},
"hsl": {
"h": 340,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.51908,
"c": 0.16133,
"h": 4.5
},
"luminance": 0.1236
}Semantic roles & 50–950 ramp
primary
#AF345D
secondary
#7BC4AB
accent
#DEAC4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C