#C940B0#C940B0
#C940B0 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.5% C 0.210 H 336.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C940B0 |
|---|---|
| RGB | rgb(201, 64, 176) |
| HSL | hsl(311, 56%, 52%) |
| HSV | hsv(311, 68%, 79%) |
| CMYK | cmyk(0%, 68.2%, 12.4%, 21.2%) |
| CIE-LAB | lab(50.95, 65.53, -31.31) |
| CIE-LCH | lch(50.95, 72.63, 334.46°) |
| OKLab | oklab(60.47% 0.1918 -0.0852) |
| OKLCH | oklch(60.47% 0.21 336) |
| XYZ | xyz(33.7577, 19.2218, 42.9981) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.92
Pinky Purple
#C94CBE
ΔE00 3.13
Purpleish Pink
#DF4EC8
ΔE00 6.30
Purplish Pink
#CE5DAE
ΔE00 6.33
Pinkish Purple
#D648D7
ΔE00 6.75
Hot Magenta
#F504C9
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C940B0 #40C959
analogous
#9E40C9 #C940B0 #C9406C
triadic
#C940B0 #B0C940 #40B0C9
tetradic
#C940B0 #C99E40 #40C959 #406CC9
square
#C940B0 #C99E40 #40C959 #406CC9
split-complementary
#C940B0 #6CC940 #40C99E
monochromatic
#6F1F61 #9F2D8A #C940B0 #D670C4 #E49FD7
Accessibility & contrast
On white
4.34
#C940B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#C940B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C940B0
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C940B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C940B0 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#D34973
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c940b0; /* rgb */ color: rgb(201, 64, 176); /* oklch */ color: oklch(60.5% 0.210 336.0);
Tailwind
colors: {
custom: {
50: '#dd80c8',
500: '#c940b0',
950: '#000000',
},
}SCSS
$custom: #c940b0; $custom-light: #dd80c8; $custom-dark: #000000;
JSON
{
"hex": "#c940b0",
"rgb": {
"r": 201,
"g": 64,
"b": 176
},
"hsl": {
"h": 310.949,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.60473,
"c": 0.20992,
"h": 336
},
"luminance": 0.19219
}Semantic roles & 50–950 ramp
primary
#C940B0
secondary
#94D09F
accent
#DF6449
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82