#CD7CB4#CD7CB4

#CD7CB4 is a light, vivid pink. Relative luminance 0.307; OKLCH L 69.0% C 0.123 H 339.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CD7CB4
RGBrgb(205, 124, 180)
HSLhsl(319, 45%, 65%)
HSVhsv(319, 40%, 80%)
CMYKcmyk(0%, 39.5%, 12.2%, 19.6%)
CIE-LABlab(62.25, 39.36, -16.19)
CIE-LCHlch(62.25, 42.56, 337.63°)
OKLaboklab(69.02% 0.1148 -0.0432)
OKLCHoklch(69.02% 0.123 339.4)
XYZxyz(40.6228, 30.6921, 46.9556)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB4 #7CCD95
analogous
#BE7CCD #CD7CB4 #CD7C8C
triadic
#CD7CB4 #B4CD7C #7CB4CD
tetradic
#CD7CB4 #CDBE7C #7CCD95 #7C8CCD
square
#CD7CB4 #CDBE7C #7CCD95 #7C8CCD
split-complementary
#CD7CB4 #8CCD7C #7CCDBE
monochromatic
#963979 #BC509B #CD7CB4 #DEA8CD #EFD5E7

Accessibility & contrast

On white

2.94
#CD7CB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CD7CB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB4#FFFFFF#000000##000000
##CD7CB41.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8FB6
Deuteranopia (green-blind)
#939BB2
Tritanopia (blue-blind)
#D67E90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7cb4;
/* rgb */ color: rgb(205, 124, 180);
/* oklch */ color: oklch(69.0% 0.123 339.4);
Tailwind
colors: {
  custom: {
    50: '#dea3ca',
    500: '#cd7cb4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb4;
$custom-light: #dea3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb4",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 180
  },
  "hsl": {
    "h": 318.519,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69019,
    "c": 0.12267,
    "h": 339.4
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#CD7CB4
secondary
#C4E0CD
accent
#B8582E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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