#C12A9C#C12A9C
#C12A9C is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 340.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A9C |
|---|---|
| RGB | rgb(193, 42, 156) |
| HSL | hsl(315, 64%, 46%) |
| HSV | hsv(315, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 19.2%, 24.3%) |
| CIE-LAB | lab(46.17, 67.93, -27.01) |
| CIE-LCH | lch(46.17, 73.10, 338.31°) |
| OKLab | oklab(56.47% 0.2031 -0.073) |
| OKLCH | oklch(56.47% 0.216 340.2) |
| XYZ | xyz(28.8219, 15.3966, 32.9000) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.93
Ugly Purple
#A442A0
ΔE00 5.75
Purpley Pink
#C83CB9
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 7.08
Magenta (survey)
#C20078
ΔE00 7.31
Barney
#AC1DB8
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A9C #2AC14F
analogous
#9A2AC1 #C12A9C #C12A50
triadic
#C12A9C #9CC12A #2A9CC1
tetradic
#C12A9C #C19A2A #2AC14F #2A50C1
square
#C12A9C #C19A2A #2AC14F #2A50C1
split-complementary
#C12A9C #50C12A #2AC19A
monochromatic
#5C144B #8F1F73 #C12A9C #D94FB7 #E482CC
Accessibility & contrast
On white
5.15
#C12A9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#C12A9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A9C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A9C | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#CD2F61
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c12a9c; /* rgb */ color: rgb(193, 42, 156); /* oklch */ color: oklch(56.5% 0.216 340.2);
Tailwind
colors: {
custom: {
50: '#d875b9',
500: '#c12a9c',
950: '#000000',
},
}SCSS
$custom: #c12a9c; $custom-light: #d875b9; $custom-dark: #000000;
JSON
{
"hex": "#c12a9c",
"rgb": {
"r": 193,
"g": 42,
"b": 156
},
"hsl": {
"h": 314.702,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.56467,
"c": 0.2158,
"h": 340.2
},
"luminance": 0.15394
}Semantic roles & 50–950 ramp
primary
#C12A9C
secondary
#7ACD8E
accent
#E76941
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80