#C151A3#C151A3
#C151A3 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.172 H 339.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C151A3 |
|---|---|
| RGB | rgb(193, 81, 163) |
| HSL | hsl(316, 47%, 54%) |
| HSV | hsv(316, 58%, 76%) |
| CMYK | cmyk(0%, 58%, 15.5%, 24.3%) |
| CIE-LAB | lab(51.69, 54.42, -22.63) |
| CIE-LCH | lch(51.69, 58.94, 337.42°) |
| OKLab | oklab(60.59% 0.1606 -0.0609) |
| OKLCH | oklch(60.59% 0.172 339.2) |
| XYZ | xyz(31.5461, 19.8692, 36.8169) |
| Luminance | 0.1987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.25
Pinky Purple
#C94CBE
ΔE00 5.11
Purpley Pink
#C83CB9
ΔE00 5.50
Purpleish Pink
#DF4EC8
ΔE00 7.39
Pale Magenta
#D767AD
ΔE00 7.41
Ugly Purple
#A442A0
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C151A3 #51C16F
analogous
#A751C1 #C151A3 #C1516B
triadic
#C151A3 #A3C151 #51A3C1
tetradic
#C151A3 #C1A751 #51C16F #516BC1
square
#C151A3 #C1A751 #51C16F #516BC1
split-complementary
#C151A3 #6BC151 #51C1A7
monochromatic
#70285D #9D3882 #C151A3 #D17EBB #E1ABD3
Accessibility & contrast
On white
4.22
#C151A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#C151A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C151A3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C151A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C151A3 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#CB5473
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #c151a3; /* rgb */ color: rgb(193, 81, 163); /* oklch */ color: oklch(60.6% 0.172 339.2);
Tailwind
colors: {
custom: {
50: '#d787be',
500: '#c151a3',
950: '#000000',
},
}SCSS
$custom: #c151a3; $custom-light: #d787be; $custom-dark: #000000;
JSON
{
"hex": "#c151a3",
"rgb": {
"r": 193,
"g": 81,
"b": 163
},
"hsl": {
"h": 316.071,
"s": 47.458,
"l": 53.725
},
"oklch": {
"l": 0.60589,
"c": 0.17173,
"h": 339.2
},
"luminance": 0.19867
}Semantic roles & 50–950 ramp
primary
#C151A3
secondary
#9FCFAC
accent
#D77551
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81