#CD7CB3#CD7CB3

#CD7CB3 is a light, vivid pink. Relative luminance 0.306; OKLCH L 69.0% C 0.122 H 340.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CD7CB3
RGBrgb(205, 124, 179)
HSLhsl(319, 45%, 65%)
HSVhsv(319, 40%, 80%)
CMYKcmyk(0%, 39.5%, 12.7%, 19.6%)
CIE-LABlab(62.21, 39.19, -15.68)
CIE-LCHlch(62.21, 42.21, 338.20°)
OKLaboklab(68.98% 0.1145 -0.0418)
OKLCHoklch(68.98% 0.122 340)
XYZxyz(40.5213, 30.6515, 46.4211)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB3 #7CCD96
analogous
#BE7CCD #CD7CB3 #CD7C8B
triadic
#CD7CB3 #B3CD7C #7CB3CD
tetradic
#CD7CB3 #CDBE7C #7CCD96 #7C8BCD
square
#CD7CB3 #CDBE7C #7CCD96 #7C8BCD
split-complementary
#CD7CB3 #8BCD7C #7CCDBE
monochromatic
#963978 #BC5099 #CD7CB3 #DEA8CD #EFD5E6

Accessibility & contrast

On white

2.95
#CD7CB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CD7CB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB3#FFFFFF#000000##000000
##CD7CB31.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8FB5
Deuteranopia (green-blind)
#949BB1
Tritanopia (blue-blind)
#D67D90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7cb3;
/* rgb */ color: rgb(205, 124, 179);
/* oklch */ color: oklch(69.0% 0.122 340.0);
Tailwind
colors: {
  custom: {
    50: '#dea3c9',
    500: '#cd7cb3',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb3;
$custom-light: #dea3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb3",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 319.259,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68981,
    "c": 0.1219,
    "h": 340
  },
  "luminance": 0.30649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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