#C12A9A#C12A9A
#C12A9A is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.4% C 0.215 H 341.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C12A9A |
|---|---|
| RGB | rgb(193, 42, 154) |
| HSL | hsl(315, 64%, 46%) |
| HSV | hsv(315, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 20.2%, 24.3%) |
| CIE-LAB | lab(46.08, 67.67, -25.96) |
| CIE-LCH | lch(46.08, 72.47, 339.01°) |
| OKLab | oklab(56.37% 0.2028 -0.07) |
| OKLCH | oklch(56.37% 0.215 341) |
| XYZ | xyz(28.6540, 15.3294, 32.0154) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.57
Ugly Purple
#A442A0
ΔE00 5.93
Purpley Pink
#C83CB9
ΔE00 6.11
Magenta (survey)
#C20078
ΔE00 6.95
Medium Purple
#9E43A2
ΔE00 7.28
Pinky Purple
#C94CBE
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12A9A #2AC151
analogous
#9C2AC1 #C12A9A #C12A4E
triadic
#C12A9A #9AC12A #2A9AC1
tetradic
#C12A9A #C19C2A #2AC151 #2A4EC1
square
#C12A9A #C19C2A #2AC151 #2A4EC1
split-complementary
#C12A9A #4EC12A #2AC19C
monochromatic
#5C144A #8F1F72 #C12A9A #D94FB5 #E482CA
Accessibility & contrast
On white
5.17
#C12A9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#C12A9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12A9A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12A9A | 1.00 | 5.17 | 4.07 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#697697
Tritanopia (blue-blind)
#CD2E60
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #c12a9a; /* rgb */ color: rgb(193, 42, 154); /* oklch */ color: oklch(56.4% 0.215 341.0);
Tailwind
colors: {
custom: {
50: '#d875b8',
500: '#c12a9a',
950: '#000000',
},
}SCSS
$custom: #c12a9a; $custom-light: #d875b8; $custom-dark: #000000;
JSON
{
"hex": "#c12a9a",
"rgb": {
"r": 193,
"g": 42,
"b": 154
},
"hsl": {
"h": 315.497,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.56372,
"c": 0.21456,
"h": 341
},
"luminance": 0.15326
}Semantic roles & 50–950 ramp
primary
#C12A9A
secondary
#7ACD8F
accent
#E76C41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80