#AF405F#AF405F
#AF405F is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.3% C 0.147 H 6.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF405F |
|---|---|
| RGB | rgb(175, 64, 95) |
| HSL | hsl(343, 46%, 47%) |
| HSV | hsv(343, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 45.7%, 31.4%) |
| CIE-LAB | lab(43.67, 47.84, 6.15) |
| CIE-LCH | lch(43.67, 48.23, 7.33°) |
| OKLab | oklab(53.32% 0.1457 0.0163) |
| OKLCH | oklch(53.32% 0.147 6.4) |
| XYZ | xyz(21.5797, 13.6096, 12.3148) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 1.56
Dark Rose
#B5485D
ΔE00 3.48
Light Maroon
#A24857
ΔE00 4.08
Deep Rose
#C74767
ΔE00 5.65
Dark Pink
#CB416B
ΔE00 5.83
Deep Pink
#CB0162
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF405F #40AF90
analogous
#AF4097 #AF405F #AF5840
triadic
#AF405F #5FAF40 #405FAF
tetradic
#AF405F #97AF40 #40AF90 #5840AF
square
#AF405F #97AF40 #40AF90 #5840AF
split-complementary
#AF405F #40AF58 #4097AF
monochromatic
#551F2E #823047 #AF405F #C76581 #D792A5
Accessibility & contrast
On white
5.64
#AF405F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#AF405F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF405F
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF405F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF405F | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575960
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#BE314C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af405f; /* rgb */ color: rgb(175, 64, 95); /* oklch */ color: oklch(53.3% 0.147 6.4);
Tailwind
colors: {
custom: {
50: '#cb7b8c',
500: '#af405f',
950: '#000000',
},
}SCSS
$custom: #af405f; $custom-light: #cb7b8c; $custom-dark: #000000;
JSON
{
"hex": "#af405f",
"rgb": {
"r": 175,
"g": 64,
"b": 95
},
"hsl": {
"h": 343.243,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53322,
"c": 0.14662,
"h": 6.4
},
"luminance": 0.13607
}Semantic roles & 50–950 ramp
primary
#AF405F
secondary
#88C3B2
accent
#D6B152
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D