#AF426F#AF426F
#AF426F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.149 H 357.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF426F |
|---|---|
| RGB | rgb(175, 66, 111) |
| HSL | hsl(335, 45%, 47%) |
| HSV | hsv(335, 62%, 69%) |
| CMYK | cmyk(0%, 62.3%, 36.6%, 31.4%) |
| CIE-LAB | lab(44.46, 48.68, -2.56) |
| CIE-LCH | lch(44.46, 48.75, 356.99°) |
| OKLab | oklab(54.07% 0.1486 -0.0061) |
| OKLCH | oklch(54.07% 0.149 357.6) |
| XYZ | xyz(22.4979, 14.1606, 16.5843) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.50
Dark Pink
#CB416B
ΔE00 6.82
Magenta (survey)
#C20078
ΔE00 6.93
Deep Pink
#CB0162
ΔE00 6.93
Dark Rose
#B5485D
ΔE00 7.32
Light Plum
#9D5783
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF426F #42AF82
analogous
#AF42A6 #AF426F #AF4B42
triadic
#AF426F #6FAF42 #426FAF
tetradic
#AF426F #A6AF42 #42AF82 #4B42AF
square
#AF426F #A6AF42 #42AF82 #4B42AF
split-complementary
#AF426F #42AF4B #42A6AF
monochromatic
#562037 #833153 #AF426F #C6688F #D795B0
Accessibility & contrast
On white
5.48
#AF426F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#AF426F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF426F
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF426F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF426F | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555C70
Deuteranopia (green-blind)
#72716C
Tritanopia (blue-blind)
#BC3954
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af426f; /* rgb */ color: rgb(175, 66, 111); /* oklch */ color: oklch(54.1% 0.149 357.6);
Tailwind
colors: {
custom: {
50: '#cb7c98',
500: '#af426f',
950: '#000000',
},
}SCSS
$custom: #af426f; $custom-light: #cb7c98; $custom-dark: #000000;
JSON
{
"hex": "#af426f",
"rgb": {
"r": 175,
"g": 66,
"b": 111
},
"hsl": {
"h": 335.229,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.54066,
"c": 0.14877,
"h": 357.6
},
"luminance": 0.14158
}Semantic roles & 50–950 ramp
primary
#AF426F
secondary
#8AC2AB
accent
#D59F53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E