#C151A7#C151A7
#C151A7 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.175 H 337.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A7 |
|---|---|
| RGB | rgb(193, 81, 167) |
| HSL | hsl(314, 47%, 54%) |
| HSV | hsv(314, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 13.5%, 24.3%) |
| CIE-LAB | lab(51.85, 55.04, -24.72) |
| CIE-LCH | lch(51.85, 60.33, 335.81°) |
| OKLab | oklab(60.77% 0.1614 -0.0668) |
| OKLCH | oklch(60.77% 0.175 337.5) |
| XYZ | xyz(31.9102, 20.0149, 38.7343) |
| Luminance | 0.2001 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 4.30
Purpley Pink
#C83CB9
ΔE00 4.84
Purpleish Pink
#DF4EC8
ΔE00 6.85
Pale Magenta
#D767AD
ΔE00 7.57
Ugly Purple
#A442A0
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A7 #51C16B
analogous
#A351C1 #C151A7 #C1516F
triadic
#C151A7 #A7C151 #51A7C1
tetradic
#C151A7 #C1A351 #51C16B #516FC1
square
#C151A7 #C1A351 #51C16B #516FC1
split-complementary
#C151A7 #6FC151 #51C1A3
monochromatic
#70285F #9D3885 #C151A7 #D17EBE #E1ABD5
Accessibility & contrast
On white
4.20
#C151A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#C151A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A7
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A7 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#CB5575
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c151a7; /* rgb */ color: rgb(193, 81, 167); /* oklch */ color: oklch(60.8% 0.175 337.5);
Tailwind
colors: {
custom: {
50: '#d688c1',
500: '#c151a7',
950: '#000000',
},
}SCSS
$custom: #c151a7; $custom-light: #d688c1; $custom-dark: #000000;
JSON
{
"hex": "#c151a7",
"rgb": {
"r": 193,
"g": 81,
"b": 167
},
"hsl": {
"h": 313.929,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60765,
"c": 0.17466,
"h": 337.5
},
"luminance": 0.20012
}Semantic roles & 50–950 ramp
primary
#C151A7
secondary
#9FCFAA
accent
#D77051
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81