#CD7DBA#CD7DBA

#CD7DBA is a light, vivid pink. Relative luminance 0.312; OKLCH L 69.4% C 0.126 H 336.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD7DBA
RGBrgb(205, 125, 186)
HSLhsl(314, 44%, 65%)
HSVhsv(314, 39%, 80%)
CMYKcmyk(0%, 39%, 9.3%, 19.6%)
CIE-LABlab(62.67, 39.84, -18.95)
CIE-LCHlch(62.67, 44.12, 334.55°)
OKLaboklab(69.41% 0.115 -0.0509)
OKLCHoklch(69.41% 0.126 336.1)
XYZxyz(41.3733, 31.1938, 50.2866)
Luminance0.3119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DBA #7DCD90
analogous
#B87DCD #CD7DBA #CD7D92
triadic
#CD7DBA #BACD7D #7DBACD
tetradic
#CD7DBA #CDB87D #7DCD90 #7D92CD
square
#CD7DBA #CDB87D #7DCD90 #7D92CD
split-complementary
#CD7DBA #92CD7D #7DCDB8
monochromatic
#963A80 #BC51A3 #CD7DBA #DEA9D1 #EFD5E9

Accessibility & contrast

On white

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

On black

7.24
#CD7DBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DBA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DBA#FFFFFF#000000##000000
##CD7DBA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E90BC
Deuteranopia (green-blind)
#929CB8
Tritanopia (blue-blind)
#D58093
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7dba;
/* rgb */ color: rgb(205, 125, 186);
/* oklch */ color: oklch(69.4% 0.126 336.1);
Tailwind
colors: {
  custom: {
    50: '#dda4ce',
    500: '#cd7dba',
    950: '#000000',
  },
}
SCSS
$custom: #cd7dba;
$custom-light: #dda4ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7dba",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 186
  },
  "hsl": {
    "h": 314.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69409,
    "c": 0.12573,
    "h": 336.1
  },
  "luminance": 0.31192
}

Semantic roles & 50–950 ramp

primary
#CD7DBA
secondary
#C5E1CC
accent
#B84F2E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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