#CD7EB9#CD7EB9

#CD7EB9 is a light, vivid pink. Relative luminance 0.314; OKLCH L 69.5% C 0.123 H 336.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD7EB9
RGBrgb(205, 126, 185)
HSLhsl(315, 44%, 65%)
HSVhsv(315, 39%, 80%)
CMYKcmyk(0%, 38.5%, 9.8%, 19.6%)
CIE-LABlab(62.85, 39.13, -18.12)
CIE-LCHlch(62.85, 43.12, 335.16°)
OKLaboklab(69.53% 0.1132 -0.0486)
OKLCHoklch(69.53% 0.123 336.8)
XYZxyz(41.3946, 31.4059, 49.7711)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB9 #7ECD92
analogous
#BA7ECD #CD7EB9 #CD7E91
triadic
#CD7EB9 #B9CD7E #7EB9CD
tetradic
#CD7EB9 #CDBA7E #7ECD92 #7E91CD
square
#CD7EB9 #CDBA7E #7ECD92 #7E91CD
split-complementary
#CD7EB9 #91CD7E #7ECDBA
monochromatic
#963A7F #BC52A1 #CD7EB9 #DEAAD1 #EFD6E9

Accessibility & contrast

On white

2.88
#CD7EB9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CD7EB9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB9
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB9#FFFFFF#000000##000000
##CD7EB91.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BB
Deuteranopia (green-blind)
#939CB7
Tritanopia (blue-blind)
#D58194
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7eb9;
/* rgb */ color: rgb(205, 126, 185);
/* oklch */ color: oklch(69.5% 0.123 336.8);
Tailwind
colors: {
  custom: {
    50: '#dda5ce',
    500: '#cd7eb9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb9;
$custom-light: #dda5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb9",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 185
  },
  "hsl": {
    "h": 315.19,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69531,
    "c": 0.12314,
    "h": 336.8
  },
  "luminance": 0.31404
}

Semantic roles & 50–950 ramp

primary
#CD7EB9
secondary
#C6E1CD
accent
#B7512E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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