#CD7FAC#CD7FAC

#CD7FAC is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.2% C 0.112 H 344.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CD7FAC
RGBrgb(205, 127, 172)
HSLhsl(325, 44%, 65%)
HSVhsv(325, 38%, 80%)
CMYKcmyk(0%, 38%, 16.1%, 19.6%)
CIE-LABlab(62.62, 36.46, -11.08)
CIE-LCHlch(62.62, 38.10, 343.10°)
OKLaboklab(69.22% 0.1077 -0.0292)
OKLCHoklch(69.22% 0.112 344.8)
XYZxyz(40.2130, 31.1388, 42.9140)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FAC #7FCDA0
analogous
#C77FCD #CD7FAC #CD7F85
triadic
#CD7FAC #ACCD7F #7FACCD
tetradic
#CD7FAC #CDC77F #7FCDA0 #7F85CD
square
#CD7FAC #CDC77F #7FCDA0 #7F85CD
split-complementary
#CD7FAC #85CD7F #7FCDC7
monochromatic
#973B70 #BC538F #CD7FAC #DEABC9 #EFD7E5

Accessibility & contrast

On white

2.91
#CD7FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CD7FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FAC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FAC#FFFFFF#000000##000000
##CD7FAC1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8490AE
Deuteranopia (green-blind)
#989CAA
Tritanopia (blue-blind)
#D77F8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fac;
/* rgb */ color: rgb(205, 127, 172);
/* oklch */ color: oklch(69.2% 0.112 344.8);
Tailwind
colors: {
  custom: {
    50: '#dda5c4',
    500: '#cd7fac',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fac;
$custom-light: #dda5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fac",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 325.385,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69217,
    "c": 0.11158,
    "h": 344.8
  },
  "luminance": 0.31136
}

Semantic roles & 50–950 ramp

primary
#CD7FAC
secondary
#C7E1D2
accent
#B7682F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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