#CD7EB3#CD7EB3

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

Color values

HEX#CD7EB3
RGBrgb(205, 126, 179)
HSLhsl(320, 44%, 65%)
HSVhsv(320, 39%, 80%)
CMYKcmyk(0%, 38.5%, 12.7%, 19.6%)
CIE-LABlab(62.64, 38.13, -15.03)
CIE-LCHlch(62.64, 40.98, 338.48°)
OKLaboklab(69.31% 0.1114 -0.04)
OKLCHoklch(69.31% 0.118 340.2)
XYZxyz(40.7745, 31.1578, 46.5055)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB3 #7ECD98
analogous
#C07ECD #CD7EB3 #CD7E8B
triadic
#CD7EB3 #B3CD7E #7EB3CD
tetradic
#CD7EB3 #CDC07E #7ECD98 #7E8BCD
square
#CD7EB3 #CDC07E #7ECD98 #7E8BCD
split-complementary
#CD7EB3 #8BCD7E #7ECDC0
monochromatic
#963A78 #BC5299 #CD7EB3 #DEAACD #EFD6E7

Accessibility & contrast

On white

2.90
#CD7EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CD7EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB3#FFFFFF#000000##000000
##CD7EB31.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd7eb3;
/* rgb */ color: rgb(205, 126, 179);
/* oklch */ color: oklch(69.3% 0.118 340.2);
Tailwind
colors: {
  custom: {
    50: '#dda5c9',
    500: '#cd7eb3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb3;
$custom-light: #dda5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb3",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 319.747,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.11839,
    "h": 340.2
  },
  "luminance": 0.31156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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