#CD38A6#CD38A6
#CD38A6 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.215 H 340.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD38A6 |
|---|---|
| RGB | rgb(205, 56, 166) |
| HSL | hsl(316, 60%, 51%) |
| HSV | hsv(316, 73%, 80%) |
| CMYK | cmyk(0%, 72.7%, 19%, 19.6%) |
| CIE-LAB | lab(50.17, 67.87, -26.58) |
| CIE-LCH | lch(50.17, 72.89, 338.61°) |
| OKLab | oklab(59.89% 0.2027 -0.0717) |
| OKLCH | oklch(59.89% 0.215 340.5) |
| XYZ | xyz(33.4749, 18.5640, 37.8893) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.85
Pinky Purple
#C94CBE
ΔE00 5.21
Purplish Pink
#CE5DAE
ΔE00 6.80
Mediumvioletred
#C71585
ΔE00 7.02
Hot Magenta
#F504C9
ΔE00 7.46
Purpleish Pink
#DF4EC8
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD38A6 #38CD5F
analogous
#A938CD #CD38A6 #CD385B
triadic
#CD38A6 #A6CD38 #38A6CD
tetradic
#CD38A6 #CDA938 #38CD5F #385BCD
square
#CD38A6 #CDA938 #38CD5F #385BCD
split-complementary
#CD38A6 #5BCD38 #38CDA9
monochromatic
#6F1C59 #A02880 #CD38A6 #D969BC #E69AD2
Accessibility & contrast
On white
4.46
#CD38A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#CD38A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD38A6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD38A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD38A6 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4368A9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#D93C6B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd38a6; /* rgb */ color: rgb(205, 56, 166); /* oklch */ color: oklch(59.9% 0.215 340.5);
Tailwind
colors: {
custom: {
50: '#e07cc0',
500: '#cd38a6',
950: '#000000',
},
}SCSS
$custom: #cd38a6; $custom-light: #e07cc0; $custom-dark: #000000;
JSON
{
"hex": "#cd38a6",
"rgb": {
"r": 205,
"g": 56,
"b": 166
},
"hsl": {
"h": 315.705,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.59892,
"c": 0.215,
"h": 340.5
},
"luminance": 0.18561
}Semantic roles & 50–950 ramp
primary
#CD38A6
secondary
#8FD1A1
accent
#E36E45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81