#CD38B3#CD38B3
#CD38B3 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.224 H 336.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CD38B3 |
|---|---|
| RGB | rgb(205, 56, 179) |
| HSL | hsl(310, 60%, 51%) |
| HSV | hsv(310, 73%, 80%) |
| CMYK | cmyk(0%, 72.7%, 12.7%, 19.6%) |
| CIE-LAB | lab(50.76, 69.68, -33.30) |
| CIE-LCH | lch(50.76, 77.23, 334.46°) |
| OKLab | oklab(60.51% 0.2043 -0.0908) |
| OKLCH | oklch(60.51% 0.224 336) |
| XYZ | xyz(34.7282, 19.0653, 44.4900) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.57
Pinky Purple
#C94CBE
ΔE00 3.45
Purpleish Pink
#DF4EC8
ΔE00 6.38
Hot Magenta
#F504C9
ΔE00 6.49
Pinkish Purple
#D648D7
ΔE00 6.56
Purple Pink
#D725DE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD38B3 #38CD52
analogous
#9C38CD #CD38B3 #CD3868
triadic
#CD38B3 #B3CD38 #38B3CD
tetradic
#CD38B3 #CD9C38 #38CD52 #3868CD
square
#CD38B3 #CD9C38 #38CD52 #3868CD
split-complementary
#CD38B3 #68CD38 #38CD9C
monochromatic
#6F1C60 #A0288B #CD38B3 #D969C6 #E69AD8
Accessibility & contrast
On white
4.36
#CD38B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CD38B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD38B3
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD38B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD38B3 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6BB6
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#D74372
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cd38b3; /* rgb */ color: rgb(205, 56, 179); /* oklch */ color: oklch(60.5% 0.224 336.0);
Tailwind
colors: {
custom: {
50: '#e07dca',
500: '#cd38b3',
950: '#000000',
},
}SCSS
$custom: #cd38b3; $custom-light: #e07dca; $custom-dark: #000000;
JSON
{
"hex": "#cd38b3",
"rgb": {
"r": 205,
"g": 56,
"b": 179
},
"hsl": {
"h": 310.47,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.60512,
"c": 0.22355,
"h": 336
},
"luminance": 0.19062
}Semantic roles & 50–950 ramp
primary
#CD38B3
secondary
#8FD19B
accent
#E36045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82