#CD7DA2#CD7DA2

#CD7DA2 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.5% C 0.109 H 351.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CD7DA2
RGBrgb(205, 125, 162)
HSLhsl(332, 44%, 65%)
HSVhsv(332, 39%, 80%)
CMYKcmyk(0%, 39%, 21%, 19.6%)
CIE-LABlab(61.88, 35.98, -6.49)
CIE-LCHlch(61.88, 36.56, 349.77°)
OKLaboklab(68.55% 0.1076 -0.0168)
OKLCHoklch(68.55% 0.109 351.1)
XYZxyz(39.0327, 30.2576, 37.9598)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7DA2 #7DCDA8
analogous
#CD7DCA #CD7DA2 #CD807D
triadic
#CD7DA2 #A2CD7D #7DA2CD
tetradic
#CD7DA2 #CACD7D #7DCDA8 #807DCD
square
#CD7DA2 #CACD7D #7DCDA8 #807DCD
split-complementary
#CD7DA2 #7DCD80 #7DCACD
monochromatic
#963A64 #BC5182 #CD7DA2 #DEA9C2 #EFD5E1

Accessibility & contrast

On white

2.98
#CD7DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CD7DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7DA2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7DA2#FFFFFF#000000##000000
##CD7DA21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#858DA3
Deuteranopia (green-blind)
#999BA0
Tritanopia (blue-blind)
#D87B8A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7da2;
/* rgb */ color: rgb(205, 125, 162);
/* oklch */ color: oklch(68.5% 0.109 351.1);
Tailwind
colors: {
  custom: {
    50: '#dea4bd',
    500: '#cd7da2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7da2;
$custom-light: #dea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7da2",
  "rgb": {
    "r": 205,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 332.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.10888,
    "h": 351.1
  },
  "luminance": 0.30255
}

Semantic roles & 50–950 ramp

primary
#CD7DA2
secondary
#C5E1D4
accent
#B8782E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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