#AF4062#AF4062
#AF4062 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.4% C 0.147 H 4.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4062 |
|---|---|
| RGB | rgb(175, 64, 98) |
| HSL | hsl(342, 46%, 47%) |
| HSV | hsv(342, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 44%, 31.4%) |
| CIE-LAB | lab(43.75, 48.14, 4.42) |
| CIE-LCH | lch(43.75, 48.34, 5.24°) |
| OKLab | oklab(53.41% 0.1469 0.0119) |
| OKLCH | oklch(53.41% 0.147 4.6) |
| XYZ | xyz(21.7187, 13.6652, 13.0468) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.17
Dark Rose
#B5485D
ΔE00 4.20
Light Maroon
#A24857
ΔE00 4.78
Dark Pink
#CB416B
ΔE00 5.79
Deep Rose
#C74767
ΔE00 5.86
Deep Pink
#CB0162
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4062 #40AF8D
analogous
#AF409A #AF4062 #AF5640
triadic
#AF4062 #62AF40 #4062AF
tetradic
#AF4062 #9AAF40 #40AF8D #5640AF
square
#AF4062 #9AAF40 #40AF8D #5640AF
split-complementary
#AF4062 #40AF56 #409AAF
monochromatic
#551F30 #823049 #AF4062 #C76583 #D792A7
Accessibility & contrast
On white
5.63
#AF4062 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#AF4062 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4062
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4062 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575A63
Deuteranopia (green-blind)
#746F5F
Tritanopia (blue-blind)
#BE324D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #af4062; /* rgb */ color: rgb(175, 64, 98); /* oklch */ color: oklch(53.4% 0.147 4.6);
Tailwind
colors: {
custom: {
50: '#cb7b8e',
500: '#af4062',
950: '#000000',
},
}SCSS
$custom: #af4062; $custom-light: #cb7b8e; $custom-dark: #000000;
JSON
{
"hex": "#af4062",
"rgb": {
"r": 175,
"g": 64,
"b": 98
},
"hsl": {
"h": 341.622,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53409,
"c": 0.14733,
"h": 4.6
},
"luminance": 0.13663
}Semantic roles & 50–950 ramp
primary
#AF4062
secondary
#88C3B1
accent
#D6AE52
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D