#AF4074#AF4074
#AF4074 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.154 H 354.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4074 |
|---|---|
| RGB | rgb(175, 64, 116) |
| HSL | hsl(332, 46%, 47%) |
| HSV | hsv(332, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 33.7%, 31.4%) |
| CIE-LAB | lab(44.30, 50.17, -5.88) |
| CIE-LCH | lch(44.30, 50.51, 353.31°) |
| OKLab | oklab(54% 0.153 -0.0149) |
| OKLCH | oklch(54% 0.154 354.4) |
| XYZ | xyz(22.6662, 14.0441, 18.0367) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.95
Mediumvioletred
#C71585
ΔE00 6.37
Light Plum
#9D5783
ΔE00 6.91
Light Burgundy
#A8415B
ΔE00 7.03
Deep Pink
#CB0162
ΔE00 7.48
Dark Pink
#CB416B
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4074 #40AF7B
analogous
#AF40AC #AF4074 #AF4440
triadic
#AF4074 #74AF40 #4074AF
tetradic
#AF4074 #ACAF40 #40AF7B #4440AF
square
#AF4074 #ACAF40 #40AF7B #4440AF
split-complementary
#AF4074 #40AF44 #40ACAF
monochromatic
#551F39 #823056 #AF4074 #C76593 #D792B3
Accessibility & contrast
On white
5.51
#AF4074 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#AF4074 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4074
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4074 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525C76
Deuteranopia (green-blind)
#707071
Tritanopia (blue-blind)
#BC3855
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af4074; /* rgb */ color: rgb(175, 64, 116); /* oklch */ color: oklch(54.0% 0.154 354.4);
Tailwind
colors: {
custom: {
50: '#cb7b9c',
500: '#af4074',
950: '#000000',
},
}SCSS
$custom: #af4074; $custom-light: #cb7b9c; $custom-dark: #000000;
JSON
{
"hex": "#af4074",
"rgb": {
"r": 175,
"g": 64,
"b": 116
},
"hsl": {
"h": 331.892,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53995,
"c": 0.15376,
"h": 354.4
},
"luminance": 0.14042
}Semantic roles & 50–950 ramp
primary
#AF4074
secondary
#88C3A7
accent
#D69852
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E