#CD7EB6#CD7EB6

#CD7EB6 is a light, vivid pink. Relative luminance 0.313; OKLCH L 69.4% C 0.121 H 338.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CD7EB6
RGBrgb(205, 126, 182)
HSLhsl(317, 44%, 65%)
HSVhsv(317, 39%, 80%)
CMYKcmyk(0%, 38.5%, 11.2%, 19.6%)
CIE-LABlab(62.74, 38.63, -16.58)
CIE-LCHlch(62.74, 42.03, 336.77°)
OKLaboklab(69.42% 0.1123 -0.0443)
OKLCHoklch(69.42% 0.121 338.5)
XYZxyz(41.0812, 31.2805, 48.1208)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB6 #7ECD95
analogous
#BC7ECD #CD7EB6 #CD7E8F
triadic
#CD7EB6 #B6CD7E #7EB6CD
tetradic
#CD7EB6 #CDBC7E #7ECD95 #7E8FCD
square
#CD7EB6 #CDBC7E #7ECD95 #7E8FCD
split-complementary
#CD7EB6 #8FCD7E #7ECDBC
monochromatic
#963A7C #BC529D #CD7EB6 #DEAACF #EFD6E8

Accessibility & contrast

On white

2.89
#CD7EB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CD7EB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB6#FFFFFF#000000##000000
##CD7EB61.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B8
Deuteranopia (green-blind)
#949CB4
Tritanopia (blue-blind)
#D58092
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7eb6;
/* rgb */ color: rgb(205, 126, 182);
/* oklch */ color: oklch(69.4% 0.121 338.5);
Tailwind
colors: {
  custom: {
    50: '#dda5cc',
    500: '#cd7eb6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb6;
$custom-light: #dda5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb6",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 182
  },
  "hsl": {
    "h": 317.468,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69417,
    "c": 0.12071,
    "h": 338.5
  },
  "luminance": 0.31278
}

Semantic roles & 50–950 ramp

primary
#CD7EB6
secondary
#C6E1CE
accent
#B7562E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD7EB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva