#CD7FA4#CD7FA4

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

Color values

HEX#CD7FA4
RGBrgb(205, 127, 164)
HSLhsl(332, 44%, 65%)
HSVhsv(332, 38%, 80%)
CMYKcmyk(0%, 38%, 20%, 19.6%)
CIE-LABlab(62.37, 35.21, -6.90)
CIE-LCHlch(62.37, 35.88, 348.92°)
OKLaboklab(68.94% 0.1051 -0.0179)
OKLCHoklch(68.94% 0.107 350.3)
XYZxyz(39.4677, 30.8407, 38.9888)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FA4 #7FCDA8
analogous
#CD7FCB #CD7FA4 #CD817F
triadic
#CD7FA4 #A4CD7F #7FA4CD
tetradic
#CD7FA4 #CBCD7F #7FCDA8 #817FCD
square
#CD7FA4 #CBCD7F #7FCDA8 #817FCD
split-complementary
#CD7FA4 #7FCD81 #7FCBCD
monochromatic
#973B66 #BC5385 #CD7FA4 #DEABC3 #EFD7E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FA4#FFFFFF#000000##000000
##CD7FA41.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)
#868FA5
Deuteranopia (green-blind)
#9A9CA2
Tritanopia (blue-blind)
#D87D8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fa4;
/* rgb */ color: rgb(205, 127, 164);
/* oklch */ color: oklch(68.9% 0.107 350.3);
Tailwind
colors: {
  custom: {
    50: '#dea5bf',
    500: '#cd7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fa4;
$custom-light: #dea5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fa4",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 331.538,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68942,
    "c": 0.10659,
    "h": 350.3
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#CD7FA4
secondary
#C7E1D5
accent
#B7762F
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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