#C12CBD#C12CBD
#C12CBD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.236 H 329.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #C12CBD |
|---|---|
| RGB | rgb(193, 44, 189) |
| HSL | hsl(302, 63%, 46%) |
| HSV | hsv(302, 77%, 76%) |
| CMYK | cmyk(0%, 77.2%, 2.1%, 24.3%) |
| CIE-LAB | lab(48.03, 72.14, -43.59) |
| CIE-LCH | lch(48.03, 84.29, 328.86°) |
| OKLab | oklab(58.34% 0.2032 -0.1206) |
| OKLCH | oklch(58.34% 0.236 329.3) |
| XYZ | xyz(32.0781, 16.8154, 49.6904) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.40
Barney
#AC1DB8
ΔE00 5.29
Purple Pink
#D725DE
ΔE00 5.91
Pinky Purple
#C94CBE
ΔE00 5.93
Ugly Purple
#A442A0
ΔE00 6.19
Medium Purple
#9E43A2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12CBD #2CC130
analogous
#7B2CC1 #C12CBD #C12C73
triadic
#C12CBD #BDC12C #2CBDC1
tetradic
#C12CBD #C17B2C #2CC130 #2C73C1
square
#C12CBD #C17B2C #2CC130 #2C73C1
split-complementary
#C12CBD #73C12C #2CC17B
monochromatic
#5D155B #8F218C #C12CBD #D853D4 #E384E0
Accessibility & contrast
On white
4.81
#C12CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#C12CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12CBD
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12CBD | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B65C1
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#C84374
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c12cbd; /* rgb */ color: rgb(193, 44, 189); /* oklch */ color: oklch(58.3% 0.236 329.3);
Tailwind
colors: {
custom: {
50: '#d877d1',
500: '#c12cbd',
950: '#000000',
},
}SCSS
$custom: #c12cbd; $custom-light: #d877d1; $custom-dark: #000000;
JSON
{
"hex": "#c12cbd",
"rgb": {
"r": 193,
"g": 44,
"b": 189
},
"hsl": {
"h": 301.611,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.58335,
"c": 0.23634,
"h": 329.3
},
"luminance": 0.16813
}Semantic roles & 50–950 ramp
primary
#C12CBD
secondary
#7DCC7F
accent
#E64642
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82