#AF345F#AF345F
#AF345F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.162 H 3.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AF345F |
|---|---|
| RGB | rgb(175, 52, 95) |
| HSL | hsl(339, 54%, 45%) |
| HSV | hsv(339, 70%, 69%) |
| CMYK | cmyk(0%, 70.3%, 45.7%, 31.4%) |
| CIE-LAB | lab(41.84, 52.83, 3.54) |
| CIE-LCH | lch(41.84, 52.94, 3.83°) |
| OKLab | oklab(51.97% 0.1616 0.0097) |
| OKLCH | oklch(51.97% 0.162 3.4) |
| XYZ | xyz(20.9744, 12.3988, 12.1130) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.36
Deep Pink
#CB0162
ΔE00 5.07
Purplish Red
#B0054B
ΔE00 5.44
Raspberry (survey)
#B00149
ΔE00 5.85
Dark Rose
#B5485D
ΔE00 6.06
Light Maroon
#A24857
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF345F #34AF84
analogous
#AF349D #AF345F #AF4634
triadic
#AF345F #5FAF34 #345FAF
tetradic
#AF345F #9DAF34 #34AF84 #4634AF
square
#AF345F #9DAF34 #34AF84 #4634AF
split-complementary
#AF345F #34AF46 #349DAF
monochromatic
#51182C #802645 #AF345F #CC547E #DA83A2
Accessibility & contrast
On white
6.04
#AF345F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#AF345F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF345F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF345F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF345F | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5360
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#BE2146
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #af345f; /* rgb */ color: rgb(175, 52, 95); /* oklch */ color: oklch(52.0% 0.162 3.4);
Tailwind
colors: {
custom: {
50: '#cc758c',
500: '#af345f',
950: '#000000',
},
}SCSS
$custom: #af345f; $custom-light: #cc758c; $custom-dark: #000000;
JSON
{
"hex": "#af345f",
"rgb": {
"r": 175,
"g": 52,
"b": 95
},
"hsl": {
"h": 339.024,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.51967,
"c": 0.16186,
"h": 3.4
},
"luminance": 0.12396
}Semantic roles & 50–950 ramp
primary
#AF345F
secondary
#7BC4AA
accent
#DEAA4A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D