#CD7EB5#CD7EB5

#CD7EB5 is a light, moderate pink. Relative luminance 0.312; OKLCH L 69.4% C 0.120 H 339.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CD7EB5
RGBrgb(205, 126, 181)
HSLhsl(318, 44%, 65%)
HSVhsv(318, 39%, 80%)
CMYKcmyk(0%, 38.5%, 11.7%, 19.6%)
CIE-LABlab(62.71, 38.46, -16.06)
CIE-LCHlch(62.71, 41.68, 337.33°)
OKLaboklab(69.38% 0.112 -0.0429)
OKLCHoklch(69.38% 0.12 339.1)
XYZxyz(40.9782, 31.2393, 47.5785)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EB5 #7ECD96
analogous
#BE7ECD #CD7EB5 #CD7E8D
triadic
#CD7EB5 #B5CD7E #7EB5CD
tetradic
#CD7EB5 #CDBE7E #7ECD96 #7E8DCD
square
#CD7EB5 #CDBE7E #7ECD96 #7E8DCD
split-complementary
#CD7EB5 #8DCD7E #7ECDBE
monochromatic
#963A7A #BC529C #CD7EB5 #DEAACE #EFD6E8

Accessibility & contrast

On white

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

On black

7.25
#CD7EB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EB5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EB5#FFFFFF#000000##000000
##CD7EB51.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B7
Deuteranopia (green-blind)
#959CB3
Tritanopia (blue-blind)
#D58092
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7eb5;
/* rgb */ color: rgb(205, 126, 181);
/* oklch */ color: oklch(69.4% 0.120 339.1);
Tailwind
colors: {
  custom: {
    50: '#dda5cb',
    500: '#cd7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7eb5;
$custom-light: #dda5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7eb5",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 318.228,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.11993,
    "h": 339.1
  },
  "luminance": 0.31237
}

Semantic roles & 50–950 ramp

primary
#CD7EB5
secondary
#C6E1CE
accent
#B7582E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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