#CD7FA5#CD7FA5

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

Color values

HEX#CD7FA5
RGBrgb(205, 127, 165)
HSLhsl(331, 44%, 65%)
HSVhsv(331, 38%, 80%)
CMYKcmyk(0%, 38%, 19.5%, 19.6%)
CIE-LABlab(62.40, 35.36, -7.42)
CIE-LCHlch(62.40, 36.13, 348.15°)
OKLaboklab(68.98% 0.1054 -0.0193)
OKLCHoklch(68.98% 0.107 349.6)
XYZxyz(39.5583, 30.8770, 39.4663)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FA5 #7FCDA7
analogous
#CD7FCC #CD7FA5 #CD807F
triadic
#CD7FA5 #A5CD7F #7FA5CD
tetradic
#CD7FA5 #CCCD7F #7FCDA7 #807FCD
square
#CD7FA5 #CCCD7F #7FCDA7 #807FCD
split-complementary
#CD7FA5 #7FCD80 #7FCCCD
monochromatic
#973B68 #BC5386 #CD7FA5 #DEABC4 #EFD7E3

Accessibility & contrast

On white

2.93
#CD7FA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CD7FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FA5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FA5#FFFFFF#000000##000000
##CD7FA51.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA6
Deuteranopia (green-blind)
#9A9CA3
Tritanopia (blue-blind)
#D77D8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fa5;
/* rgb */ color: rgb(205, 127, 165);
/* oklch */ color: oklch(69.0% 0.107 349.6);
Tailwind
colors: {
  custom: {
    50: '#dea5bf',
    500: '#cd7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fa5;
$custom-light: #dea5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fa5",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 330.769,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.10717,
    "h": 349.6
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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