#CD7BA2#CD7BA2

#CD7BA2 is a light, moderate pink. Relative luminance 0.298; OKLCH L 68.2% C 0.112 H 350.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CD7BA2
RGBrgb(205, 123, 162)
HSLhsl(331, 45%, 64%)
HSVhsv(331, 40%, 80%)
CMYKcmyk(0%, 40%, 21%, 19.6%)
CIE-LABlab(61.44, 37.04, -7.14)
CIE-LCHlch(61.44, 37.73, 349.10°)
OKLaboklab(68.22% 0.1108 -0.0185)
OKLCHoklch(68.22% 0.112 350.5)
XYZxyz(38.7821, 29.7563, 37.8763)
Luminance0.2975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BA2 #7BCDA6
analogous
#CD7BCB #CD7BA2 #CD7D7B
triadic
#CD7BA2 #A2CD7B #7BA2CD
tetradic
#CD7BA2 #CBCD7B #7BCDA6 #7D7BCD
square
#CD7BA2 #CBCD7B #7BCDA6 #7D7BCD
split-complementary
#CD7BA2 #7BCD7D #7BCBCD
monochromatic
#953865 #BC4F83 #CD7BA2 #DEA7C1 #EFD4E1

Accessibility & contrast

On white

3.02
#CD7BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CD7BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7BA2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BA2#FFFFFF#000000##000000
##CD7BA21.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#989AA0
Tritanopia (blue-blind)
#D87989
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd7ba2;
/* rgb */ color: rgb(205, 123, 162);
/* oklch */ color: oklch(68.2% 0.112 350.5);
Tailwind
colors: {
  custom: {
    50: '#dea2bd',
    500: '#cd7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ba2;
$custom-light: #dea2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ba2",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 331.463,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68216,
    "c": 0.11228,
    "h": 350.5
  },
  "luminance": 0.29754
}

Semantic roles & 50–950 ramp

primary
#CD7BA2
secondary
#C4E0D3
accent
#B8762D
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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