#CD7CA5#CD7CA5

#CD7CA5 is a light, moderate pink. Relative luminance 0.301; OKLCH L 68.5% C 0.112 H 348.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD7CA5
RGBrgb(205, 124, 165)
HSLhsl(330, 45%, 65%)
HSVhsv(330, 40%, 80%)
CMYKcmyk(0%, 39.5%, 19.5%, 19.6%)
CIE-LABlab(61.75, 36.97, -8.39)
CIE-LCHlch(61.75, 37.91, 347.21°)
OKLaboklab(68.48% 0.1102 -0.0219)
OKLCHoklch(68.48% 0.112 348.8)
XYZxyz(39.1766, 30.1136, 39.3391)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CA5 #7CCDA4
analogous
#CD7CCD #CD7CA5 #CD7C7D
triadic
#CD7CA5 #A5CD7C #7CA5CD
tetradic
#CD7CA5 #CDCD7C #7CCDA4 #7C7DCD
square
#CD7CA5 #CDCD7C #7CCDA4 #7C7DCD
split-complementary
#CD7CA5 #7DCD7C #7CCDCD
monochromatic
#963968 #BC5087 #CD7CA5 #DEA8C3 #EFD5E2

Accessibility & contrast

On white

2.99
#CD7CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD7CA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CA5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CA5#FFFFFF#000000##000000
##CD7CA51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA6
Deuteranopia (green-blind)
#989AA3
Tritanopia (blue-blind)
#D87A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ca5;
/* rgb */ color: rgb(205, 124, 165);
/* oklch */ color: oklch(68.5% 0.112 348.8);
Tailwind
colors: {
  custom: {
    50: '#dea3bf',
    500: '#cd7ca5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ca5;
$custom-light: #dea3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ca5",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 329.63,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68481,
    "c": 0.11231,
    "h": 348.8
  },
  "luminance": 0.30111
}

Semantic roles & 50–950 ramp

primary
#CD7CA5
secondary
#C4E0D2
accent
#B8722E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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