#CD7EB2#CD7EB2

#CD7EB2 is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.3% C 0.118 H 340.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CD7EB2
RGBrgb(205, 126, 178)
HSLhsl(321, 44%, 65%)
HSVhsv(321, 39%, 80%)
CMYKcmyk(0%, 38.5%, 13.2%, 19.6%)
CIE-LABlab(62.61, 37.96, -14.51)
CIE-LCHlch(62.61, 40.64, 339.08°)
OKLaboklab(69.27% 0.1111 -0.0386)
OKLCHoklch(69.27% 0.118 340.8)
XYZxyz(40.6737, 31.1175, 45.9748)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB2 #7ECD99
analogous
#C07ECD #CD7EB2 #CD7E8B
triadic
#CD7EB2 #B2CD7E #7EB2CD
tetradic
#CD7EB2 #CDC07E #7ECD99 #7E8BCD
square
#CD7EB2 #CDC07E #7ECD99 #7E8BCD
split-complementary
#CD7EB2 #8BCD7E #7ECDC0
monochromatic
#963A77 #BC5298 #CD7EB2 #DEAACC #EFD6E7

Accessibility & contrast

On white

2.91
#CD7EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CD7EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB2#FFFFFF#000000##000000
##CD7EB21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B4
Deuteranopia (green-blind)
#959CB0
Tritanopia (blue-blind)
#D67F91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7eb2;
/* rgb */ color: rgb(205, 126, 178);
/* oklch */ color: oklch(69.3% 0.118 340.8);
Tailwind
colors: {
  custom: {
    50: '#dda5c9',
    500: '#cd7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb2;
$custom-light: #dda5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb2",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 320.506,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69268,
    "c": 0.11763,
    "h": 340.8
  },
  "luminance": 0.31115
}

Semantic roles & 50–950 ramp

primary
#CD7EB2
secondary
#C6E1CF
accent
#B75D2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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