#CD7CB8#CD7CB8

#CD7CB8 is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.2% C 0.126 H 337.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CD7CB8
RGBrgb(205, 124, 184)
HSLhsl(316, 45%, 65%)
HSVhsv(316, 40%, 80%)
CMYKcmyk(0%, 39.5%, 10.2%, 19.6%)
CIE-LABlab(62.39, 40.03, -18.25)
CIE-LCHlch(62.39, 43.99, 335.49°)
OKLaboklab(69.17% 0.116 -0.0489)
OKLCHoklch(69.17% 0.126 337.1)
XYZxyz(41.0362, 30.8574, 49.1327)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB8 #7CCD91
analogous
#BA7CCD #CD7CB8 #CD7C90
triadic
#CD7CB8 #B8CD7C #7CB8CD
tetradic
#CD7CB8 #CDBA7C #7CCD91 #7C90CD
square
#CD7CB8 #CDBA7C #7CCD91 #7C90CD
split-complementary
#CD7CB8 #90CD7C #7CCDBA
monochromatic
#96397E #BC50A0 #CD7CB8 #DEA8D0 #EFD5E8

Accessibility & contrast

On white

2.93
#CD7CB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CD7CB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB8#FFFFFF#000000##000000
##CD7CB81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FBA
Deuteranopia (green-blind)
#929BB6
Tritanopia (blue-blind)
#D57F92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7cb8;
/* rgb */ color: rgb(205, 124, 184);
/* oklch */ color: oklch(69.2% 0.126 337.1);
Tailwind
colors: {
  custom: {
    50: '#dea3cd',
    500: '#cd7cb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb8;
$custom-light: #dea3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb8",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 184
  },
  "hsl": {
    "h": 315.556,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69171,
    "c": 0.12584,
    "h": 337.1
  },
  "luminance": 0.30855
}

Semantic roles & 50–950 ramp

primary
#CD7CB8
secondary
#C4E0CC
accent
#B8512E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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