#AF378C#AF378C
#AF378C is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.180 H 341.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF378C |
|---|---|
| RGB | rgb(175, 55, 140) |
| HSL | hsl(318, 52%, 45%) |
| HSV | hsv(318, 69%, 69%) |
| CMYK | cmyk(0%, 68.6%, 20%, 31.4%) |
| CIE-LAB | lab(43.86, 57.04, -21.20) |
| CIE-LCH | lch(43.86, 60.85, 339.61°) |
| OKLab | oklab(53.97% 0.1705 -0.0569) |
| OKLCH | oklch(53.97% 0.18 341.5) |
| XYZ | xyz(23.7797, 13.7421, 26.2060) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.99
Ugly Purple
#A442A0
ΔE00 5.28
Magenta (survey)
#C20078
ΔE00 6.33
Medium Purple
#9E43A2
ΔE00 6.52
Warm Purple
#952E8F
ΔE00 6.83
Purpleish
#98568D
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF378C #37AF5A
analogous
#9637AF #AF378C #AF3750
triadic
#AF378C #8CAF37 #378CAF
tetradic
#AF378C #AF9637 #37AF5A #3750AF
square
#AF378C #AF9637 #37AF5A #3750AF
split-complementary
#AF378C #50AF37 #37AF96
monochromatic
#521A41 #802867 #AF378C #CB59A9 #D987C1
Accessibility & contrast
On white
5.60
#AF378C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#AF378C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF378C
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF378C | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#656F89
Tritanopia (blue-blind)
#BA395C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af378c; /* rgb */ color: rgb(175, 55, 140); /* oklch */ color: oklch(54.0% 0.180 341.5);
Tailwind
colors: {
custom: {
50: '#ca77ad',
500: '#af378c',
950: '#000000',
},
}SCSS
$custom: #af378c; $custom-light: #ca77ad; $custom-dark: #000000;
JSON
{
"hex": "#af378c",
"rgb": {
"r": 175,
"g": 55,
"b": 140
},
"hsl": {
"h": 317.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.53974,
"c": 0.17978,
"h": 341.5
},
"luminance": 0.1374
}Semantic roles & 50–950 ramp
primary
#AF378C
secondary
#7FC393
accent
#DC764C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F