#CD7BB5#CD7BB5

#CD7BB5 is a light, vivid pink. Relative luminance 0.305; OKLCH L 68.9% C 0.125 H 338.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CD7BB5
RGBrgb(205, 123, 181)
HSLhsl(318, 45%, 64%)
HSVhsv(318, 40%, 80%)
CMYKcmyk(0%, 40%, 11.7%, 19.6%)
CIE-LABlab(62.07, 40.05, -17.03)
CIE-LCHlch(62.07, 43.53, 336.96°)
OKLaboklab(68.9% 0.1166 -0.0455)
OKLCHoklch(68.9% 0.125 338.7)
XYZxyz(40.6004, 30.4836, 47.4525)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BB5 #7BCD93
analogous
#BC7BCD #CD7BB5 #CD7B8C
triadic
#CD7BB5 #B5CD7B #7BB5CD
tetradic
#CD7BB5 #CDBC7B #7BCD93 #7B8CCD
square
#CD7BB5 #CDBC7B #7BCD93 #7B8CCD
split-complementary
#CD7BB5 #8CCD7B #7BCDBC
monochromatic
#95387A #BC4F9C #CD7BB5 #DEA7CE #EFD4E7

Accessibility & contrast

On white

2.96
#CD7BB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CD7BB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BB5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BB5#FFFFFF#000000##000000
##CD7BB51.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8EB7
Deuteranopia (green-blind)
#929BB3
Tritanopia (blue-blind)
#D57D90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7bb5;
/* rgb */ color: rgb(205, 123, 181);
/* oklch */ color: oklch(68.9% 0.125 338.7);
Tailwind
colors: {
  custom: {
    50: '#dea3cb',
    500: '#cd7bb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bb5;
$custom-light: #dea3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bb5",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 317.561,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68896,
    "c": 0.1252,
    "h": 338.7
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

primary
#CD7BB5
secondary
#C4E0CC
accent
#B8562D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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