#CD7EB0#CD7EB0

#CD7EB0 is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.2% C 0.116 H 342.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD7EB0
RGBrgb(205, 126, 176)
HSLhsl(322, 44%, 65%)
HSVhsv(322, 39%, 80%)
CMYKcmyk(0%, 38.5%, 14.1%, 19.6%)
CIE-LABlab(62.54, 37.64, -13.48)
CIE-LCHlch(62.54, 39.98, 340.30°)
OKLaboklab(69.19% 0.1105 -0.0357)
OKLCHoklch(69.19% 0.116 342.1)
XYZxyz(40.4744, 31.0378, 44.9249)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB0 #7ECD9B
analogous
#C27ECD #CD7EB0 #CD7E89
triadic
#CD7EB0 #B0CD7E #7EB0CD
tetradic
#CD7EB0 #CDC27E #7ECD9B #7E89CD
square
#CD7EB0 #CDC27E #7ECD9B #7E89CD
split-complementary
#CD7EB0 #89CD7E #7ECDC2
monochromatic
#963A75 #BC5295 #CD7EB0 #DEAACB #EFD6E6

Accessibility & contrast

On white

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

On black

7.21
#CD7EB0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB0#FFFFFF#000000##000000
##CD7EB01.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B2
Deuteranopia (green-blind)
#969CAE
Tritanopia (blue-blind)
#D67E90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7eb0;
/* rgb */ color: rgb(205, 126, 176);
/* oklch */ color: oklch(69.2% 0.116 342.1);
Tailwind
colors: {
  custom: {
    50: '#dda5c7',
    500: '#cd7eb0',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb0;
$custom-light: #dda5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb0",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 176
  },
  "hsl": {
    "h": 322.025,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69195,
    "c": 0.11615,
    "h": 342.1
  },
  "luminance": 0.31035
}

Semantic roles & 50–950 ramp

primary
#CD7EB0
secondary
#C6E1D0
accent
#B7612E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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