#AF457E#AF457E
#AF457E is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.0% C 0.151 H 349.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF457E |
|---|---|
| RGB | rgb(175, 69, 126) |
| HSL | hsl(328, 43%, 48%) |
| HSV | hsv(328, 61%, 69%) |
| CMYK | cmyk(0%, 60.6%, 28%, 31.4%) |
| CIE-LAB | lab(45.47, 49.20, -10.24) |
| CIE-LCH | lch(45.47, 50.26, 348.24°) |
| OKLab | oklab(54.98% 0.1491 -0.0267) |
| OKLCH | oklch(54.98% 0.151 349.9) |
| XYZ | xyz(23.5742, 14.8789, 21.3650) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.39
Mediumvioletred
#C71585
ΔE00 5.97
Magenta (survey)
#C20078
ΔE00 6.52
Purpleish
#98568D
ΔE00 7.25
Purplish
#94568C
ΔE00 7.89
Light Burgundy
#A8415B
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF457E #45AF76
analogous
#AB45AF #AF457E #AF4549
triadic
#AF457E #7EAF45 #457EAF
tetradic
#AF457E #AFAB45 #45AF76 #4549AF
square
#AF457E #AFAB45 #45AF76 #4549AF
split-complementary
#AF457E #49AF45 #45AFAB
monochromatic
#57223F #83345E #AF457E #C56C9C #D698BA
Accessibility & contrast
On white
5.28
#AF457E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#AF457E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF457E
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF457E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF457E | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526080
Deuteranopia (green-blind)
#70737B
Tritanopia (blue-blind)
#BB415C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af457e; /* rgb */ color: rgb(175, 69, 126); /* oklch */ color: oklch(55.0% 0.151 349.9);
Tailwind
colors: {
custom: {
50: '#ca7ea3',
500: '#af457e',
950: '#000000',
},
}SCSS
$custom: #af457e; $custom-light: #ca7ea3; $custom-dark: #000000;
JSON
{
"hex": "#af457e",
"rgb": {
"r": 175,
"g": 69,
"b": 126
},
"hsl": {
"h": 327.736,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.54976,
"c": 0.15147,
"h": 349.9
},
"luminance": 0.14877
}Semantic roles & 50–950 ramp
primary
#AF457E
secondary
#8DC2A6
accent
#D38F55
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140A0F
muted
#827C7F