#CD7FA7#CD7FA7

#CD7FA7 is a light, moderate pink. Relative luminance 0.309; OKLCH L 69.0% C 0.108 H 348.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CD7FA7
RGBrgb(205, 127, 167)
HSLhsl(329, 44%, 65%)
HSVhsv(329, 38%, 80%)
CMYKcmyk(0%, 38%, 18.5%, 19.6%)
CIE-LABlab(62.47, 35.67, -8.47)
CIE-LCHlch(62.47, 36.66, 346.65°)
OKLaboklab(69.04% 0.1061 -0.0221)
OKLCHoklch(69.04% 0.108 348.2)
XYZxyz(39.7418, 30.9504, 40.4325)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FA7 #7FCDA5
analogous
#CC7FCD #CD7FA7 #CD7F80
triadic
#CD7FA7 #A7CD7F #7FA7CD
tetradic
#CD7FA7 #CDCC7F #7FCDA5 #7F80CD
square
#CD7FA7 #CDCC7F #7FCDA5 #7F80CD
split-complementary
#CD7FA7 #80CD7F #7FCDCC
monochromatic
#973B6A #BC5389 #CD7FA7 #DEABC5 #EFD7E4

Accessibility & contrast

On white

2.92
#CD7FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CD7FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FA7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FA7#FFFFFF#000000##000000
##CD7FA71.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA8
Deuteranopia (green-blind)
#999CA5
Tritanopia (blue-blind)
#D77D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fa7;
/* rgb */ color: rgb(205, 127, 167);
/* oklch */ color: oklch(69.0% 0.108 348.2);
Tailwind
colors: {
  custom: {
    50: '#dea5c1',
    500: '#cd7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fa7;
$custom-light: #dea5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fa7",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 329.231,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69044,
    "c": 0.10836,
    "h": 348.2
  },
  "luminance": 0.30948
}

Semantic roles & 50–950 ramp

primary
#CD7FA7
secondary
#C7E1D4
accent
#B7712F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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