#CD7198#CD7198
#CD7198 is a light, vivid pink. Relative luminance 0.271; OKLCH L 66.3% C 0.124 H 354.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7198 |
|---|---|
| RGB | rgb(205, 113, 152) |
| HSL | hsl(335, 48%, 62%) |
| HSV | hsv(335, 45%, 80%) |
| CMYK | cmyk(0%, 44.9%, 25.9%, 19.6%) |
| CIE-LAB | lab(59.03, 40.86, -4.96) |
| CIE-LCH | lch(59.03, 41.16, 353.07°) |
| OKLab | oklab(66.29% 0.1232 -0.0126) |
| OKLCH | oklch(66.29% 0.124 354.2) |
| XYZ | xyz(36.7505, 27.0593, 32.9870) |
| Luminance | 0.2706 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 3.58
Muted Pink
#D1768F
ΔE00 4.19
Dusky Pink
#CC7A8B
ΔE00 6.15
Pale Magenta
#D767AD
ΔE00 6.19
Dull Pink
#D5869D
ΔE00 6.36
Blush
#DE5D83
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7198 #71CDA6
analogous
#CD71C6 #CD7198 #CD7871
triadic
#CD7198 #98CD71 #7198CD
tetradic
#CD7198 #C6CD71 #71CDA6 #7871CD
square
#CD7198 #C6CD71 #71CDA6 #7871CD
split-complementary
#CD7198 #71CD78 #71C6CD
monochromatic
#91335B #BD4477 #CD7198 #DD9EB9 #EDCCDA
Accessibility & contrast
On white
3.28
#CD7198 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#CD7198 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD7198
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7198 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7198 | 1.00 | 3.28 | 6.41 | 6.41 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8499
Deuteranopia (green-blind)
#949496
Tritanopia (blue-blind)
#DA6D7F
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #cd7198; /* rgb */ color: rgb(205, 113, 152); /* oklch */ color: oklch(66.3% 0.124 354.2);
Tailwind
colors: {
custom: {
50: '#de9cb6',
500: '#cd7198',
950: '#000000',
},
}SCSS
$custom: #cd7198; $custom-light: #de9cb6; $custom-dark: #000000;
JSON
{
"hex": "#cd7198",
"rgb": {
"r": 205,
"g": 113,
"b": 152
},
"hsl": {
"h": 334.565,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.66288,
"c": 0.12382,
"h": 354.2
},
"luminance": 0.27056
}Semantic roles & 50–950 ramp
primary
#CD7198
secondary
#BCDECF
accent
#BB7E2A
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E11
muted
#837E80