#CD7CA8#CD7CA8

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

Color values

HEX#CD7CA8
RGBrgb(205, 124, 168)
HSLhsl(327, 45%, 65%)
HSVhsv(327, 40%, 80%)
CMYKcmyk(0%, 39.5%, 18%, 19.6%)
CIE-LABlab(61.85, 37.43, -9.96)
CIE-LCHlch(61.85, 38.73, 345.10°)
OKLaboklab(68.58% 0.1111 -0.0261)
OKLCHoklch(68.58% 0.114 346.8)
XYZxyz(39.4529, 30.2241, 40.7940)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CA8 #7CCDA1
analogous
#C97CCD #CD7CA8 #CD7C80
triadic
#CD7CA8 #A8CD7C #7CA8CD
tetradic
#CD7CA8 #CDC97C #7CCDA1 #7C80CD
square
#CD7CA8 #CDC97C #7CCDA1 #7C80CD
split-complementary
#CD7CA8 #80CD7C #7CCDC9
monochromatic
#96396B #BC508B #CD7CA8 #DEA8C5 #EFD5E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7CA8#FFFFFF#000000##000000
##CD7CA81.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)
#828DAA
Deuteranopia (green-blind)
#979AA6
Tritanopia (blue-blind)
#D77B8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ca8;
/* rgb */ color: rgb(205, 124, 168);
/* oklch */ color: oklch(68.6% 0.114 346.8);
Tailwind
colors: {
  custom: {
    50: '#dea3c1',
    500: '#cd7ca8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ca8;
$custom-light: #dea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ca8",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 327.407,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68585,
    "c": 0.11416,
    "h": 346.8
  },
  "luminance": 0.30222
}

Semantic roles & 50–950 ramp

primary
#CD7CA8
secondary
#C4E0D1
accent
#B86D2E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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