#C151A6#C151A6
#C151A6 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.174 H 337.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A6 |
|---|---|
| RGB | rgb(193, 81, 166) |
| HSL | hsl(314, 47%, 54%) |
| HSV | hsv(314, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 14%, 24.3%) |
| CIE-LAB | lab(51.81, 54.88, -24.20) |
| CIE-LCH | lch(51.81, 59.98, 336.20°) |
| OKLab | oklab(60.72% 0.1612 -0.0653) |
| OKLCH | oklch(60.72% 0.174 337.9) |
| XYZ | xyz(31.8181, 19.9780, 38.2493) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.21
Pinky Purple
#C94CBE
ΔE00 4.50
Purpley Pink
#C83CB9
ΔE00 5.00
Purpleish Pink
#DF4EC8
ΔE00 6.98
Pale Magenta
#D767AD
ΔE00 7.53
Ugly Purple
#A442A0
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A6 #51C16C
analogous
#A451C1 #C151A6 #C1516E
triadic
#C151A6 #A6C151 #51A6C1
tetradic
#C151A6 #C1A451 #51C16C #516EC1
square
#C151A6 #C1A451 #51C16C #516EC1
split-complementary
#C151A6 #6EC151 #51C1A4
monochromatic
#70285E #9D3885 #C151A6 #D17EBD #E1ABD4
Accessibility & contrast
On white
4.20
#C151A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#C151A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A6
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A6 | 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)
#5471A9
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#CB5574
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c151a6; /* rgb */ color: rgb(193, 81, 166); /* oklch */ color: oklch(60.7% 0.174 337.9);
Tailwind
colors: {
custom: {
50: '#d688c0',
500: '#c151a6',
950: '#000000',
},
}SCSS
$custom: #c151a6; $custom-light: #d688c0; $custom-dark: #000000;
JSON
{
"hex": "#c151a6",
"rgb": {
"r": 193,
"g": 81,
"b": 166
},
"hsl": {
"h": 314.464,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.6072,
"c": 0.17392,
"h": 337.9
},
"luminance": 0.19975
}Semantic roles & 50–950 ramp
primary
#C151A6
secondary
#9FCFAA
accent
#D77151
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81