#C340A0#C340A0
#C340A0 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.195 H 340.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C340A0 |
|---|---|
| RGB | rgb(195, 64, 160) |
| HSL | hsl(316, 52%, 51%) |
| HSV | hsv(316, 67%, 76%) |
| CMYK | cmyk(0%, 67.2%, 17.9%, 23.5%) |
| CIE-LAB | lab(49.26, 61.69, -24.57) |
| CIE-LCH | lch(49.26, 66.41, 338.28°) |
| OKLab | oklab(58.83% 0.1835 -0.0662) |
| OKLCH | oklch(58.83% 0.195 340.2) |
| XYZ | xyz(30.6850, 17.8098, 35.0725) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.55
Pinky Purple
#C94CBE
ΔE00 5.82
Mediumvioletred
#C71585
ΔE00 6.58
Ugly Purple
#A442A0
ΔE00 6.58
Purplish Pink
#CE5DAE
ΔE00 7.00
Medium Purple
#9E43A2
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C340A0 #40C363
analogous
#A540C3 #C340A0 #C3405E
triadic
#C340A0 #A0C340 #40A0C3
tetradic
#C340A0 #C3A540 #40C363 #405EC3
square
#C340A0 #C3A540 #40C363 #405EC3
split-complementary
#C340A0 #5EC340 #40C3A5
monochromatic
#682155 #972F7B #C340A0 #D26FB7 #E09DCE
Accessibility & contrast
On white
4.60
#C340A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#C340A0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C340A0
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C340A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C340A0 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4868A3
Deuteranopia (green-blind)
#717D9D
Tritanopia (blue-blind)
#CE436A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c340a0; /* rgb */ color: rgb(195, 64, 160); /* oklch */ color: oklch(58.8% 0.195 340.2);
Tailwind
colors: {
custom: {
50: '#d97fbc',
500: '#c340a0',
950: '#000000',
},
}SCSS
$custom: #c340a0; $custom-light: #d97fbc; $custom-dark: #000000;
JSON
{
"hex": "#c340a0",
"rgb": {
"r": 195,
"g": 64,
"b": 160
},
"hsl": {
"h": 316.031,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.58831,
"c": 0.1951,
"h": 340.2
},
"luminance": 0.17807
}Semantic roles & 50–950 ramp
primary
#C340A0
secondary
#92CCA2
accent
#DC734C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81