#CD7EB7#CD7EB7

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

Color values

HEX#CD7EB7
RGBrgb(205, 126, 183)
HSLhsl(317, 44%, 65%)
HSVhsv(317, 39%, 80%)
CMYKcmyk(0%, 38.5%, 10.7%, 19.6%)
CIE-LABlab(62.78, 38.80, -17.09)
CIE-LCHlch(62.78, 42.39, 336.22°)
OKLaboklab(69.46% 0.1126 -0.0457)
OKLCHoklch(69.46% 0.122 337.9)
XYZxyz(41.1849, 31.3220, 48.6670)
Luminance0.3132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB7 #7ECD94
analogous
#BC7ECD #CD7EB7 #CD7E8F
triadic
#CD7EB7 #B7CD7E #7EB7CD
tetradic
#CD7EB7 #CDBC7E #7ECD94 #7E8FCD
square
#CD7EB7 #CDBC7E #7ECD94 #7E8FCD
split-complementary
#CD7EB7 #8FCD7E #7ECDBC
monochromatic
#963A7D #BC529E #CD7EB7 #DEAAD0 #EFD6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7EB7#FFFFFF#000000##000000
##CD7EB71.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)
#8090B9
Deuteranopia (green-blind)
#949CB5
Tritanopia (blue-blind)
#D58093
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7eb7;
/* rgb */ color: rgb(205, 126, 183);
/* oklch */ color: oklch(69.5% 0.122 337.9);
Tailwind
colors: {
  custom: {
    50: '#dda5cc',
    500: '#cd7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb7;
$custom-light: #dda5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb7",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 316.709,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69455,
    "c": 0.12151,
    "h": 337.9
  },
  "luminance": 0.3132
}

Semantic roles & 50–950 ramp

primary
#CD7EB7
secondary
#C6E1CD
accent
#B7542E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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