#CD7EA2#CD7EA2

#CD7EA2 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.7% C 0.107 H 351.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CD7EA2
RGBrgb(205, 126, 162)
HSLhsl(333, 44%, 65%)
HSVhsv(333, 39%, 80%)
CMYKcmyk(0%, 38.5%, 21%, 19.6%)
CIE-LABlab(62.09, 35.44, -6.17)
CIE-LCHlch(62.09, 35.98, 350.12°)
OKLaboklab(68.71% 0.106 -0.0159)
OKLCHoklch(68.71% 0.107 351.5)
XYZxyz(39.1600, 30.5120, 38.0022)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA2 #7ECDA9
analogous
#CD7ECA #CD7EA2 #CD817E
triadic
#CD7EA2 #A2CD7E #7EA2CD
tetradic
#CD7EA2 #CACD7E #7ECDA9 #817ECD
square
#CD7EA2 #CACD7E #7ECDA9 #817ECD
split-complementary
#CD7EA2 #7ECD81 #7ECACD
monochromatic
#963A64 #BC5282 #CD7EA2 #DEAAC2 #EFD6E2

Accessibility & contrast

On white

2.96
#CD7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CD7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EA2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EA2#FFFFFF#000000##000000
##CD7EA21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#9A9BA0
Tritanopia (blue-blind)
#D87B8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7ea2;
/* rgb */ color: rgb(205, 126, 162);
/* oklch */ color: oklch(68.7% 0.107 351.5);
Tailwind
colors: {
  custom: {
    50: '#dea4bd',
    500: '#cd7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea2;
$custom-light: #dea4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea2",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 332.658,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6871,
    "c": 0.10718,
    "h": 351.5
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

primary
#CD7EA2
secondary
#C6E1D5
accent
#B7792E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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