#CD7FA6#CD7FA6

#CD7FA6 is a light, moderate pink. Relative luminance 0.309; OKLCH L 69.0% C 0.108 H 348.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD7FA6
RGBrgb(205, 127, 166)
HSLhsl(330, 44%, 65%)
HSVhsv(330, 38%, 80%)
CMYKcmyk(0%, 38%, 19%, 19.6%)
CIE-LABlab(62.43, 35.52, -7.95)
CIE-LCHlch(62.43, 36.40, 347.39°)
OKLaboklab(69.01% 0.1058 -0.0207)
OKLCHoklch(69.01% 0.108 348.9)
XYZxyz(39.6497, 30.9135, 39.9475)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FA6 #7FCDA6
analogous
#CD7FCD #CD7FA6 #CD7F7F
triadic
#CD7FA6 #A6CD7F #7FA6CD
tetradic
#CD7FA6 #CDCD7F #7FCDA6 #7F7FCD
square
#CD7FA6 #CDCD7F #7FCDA6 #7F7FCD
split-complementary
#CD7FA6 #7FCD7F #7FCDCD
monochromatic
#973B69 #BC5387 #CD7FA6 #DEABC5 #EFD7E3

Accessibility & contrast

On white

2.92
#CD7FA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD7FA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FA6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FA6#FFFFFF#000000##000000
##CD7FA61.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA7
Deuteranopia (green-blind)
#999CA4
Tritanopia (blue-blind)
#D77D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fa6;
/* rgb */ color: rgb(205, 127, 166);
/* oklch */ color: oklch(69.0% 0.108 348.9);
Tailwind
colors: {
  custom: {
    50: '#dea5c0',
    500: '#cd7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fa6;
$custom-light: #dea5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fa6",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 330,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6901,
    "c": 0.10775,
    "h": 348.9
  },
  "luminance": 0.30911
}

Semantic roles & 50–950 ramp

primary
#CD7FA6
secondary
#C7E1D4
accent
#B7732F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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