#CD7CA7#CD7CA7

#CD7CA7 is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.5% C 0.114 H 347.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CD7CA7
RGBrgb(205, 124, 167)
HSLhsl(328, 45%, 65%)
HSVhsv(328, 40%, 80%)
CMYKcmyk(0%, 39.5%, 18.5%, 19.6%)
CIE-LABlab(61.82, 37.28, -9.44)
CIE-LCHlch(61.82, 38.45, 345.79°)
OKLaboklab(68.55% 0.1108 -0.0247)
OKLCHoklch(68.55% 0.114 347.4)
XYZxyz(39.3601, 30.1870, 40.3053)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CA7 #7CCDA2
analogous
#CA7CCD #CD7CA7 #CD7C7F
triadic
#CD7CA7 #A7CD7C #7CA7CD
tetradic
#CD7CA7 #CDCA7C #7CCDA2 #7C7FCD
square
#CD7CA7 #CDCA7C #7CCDA2 #7C7FCD
split-complementary
#CD7CA7 #7FCD7C #7CCDCA
monochromatic
#96396A #BC5089 #CD7CA7 #DEA8C5 #EFD5E3

Accessibility & contrast

On white

2.98
#CD7CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CD7CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CA7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CA7#FFFFFF#000000##000000
##CD7CA71.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA9
Deuteranopia (green-blind)
#979AA5
Tritanopia (blue-blind)
#D77B8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ca7;
/* rgb */ color: rgb(205, 124, 167);
/* oklch */ color: oklch(68.5% 0.114 347.4);
Tailwind
colors: {
  custom: {
    50: '#dea3c1',
    500: '#cd7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ca7;
$custom-light: #dea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ca7",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 328.148,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6855,
    "c": 0.11353,
    "h": 347.4
  },
  "luminance": 0.30184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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