#CD7FA8#CD7FA8

#CD7FA8 is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.1% C 0.109 H 347.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD7FA8
RGBrgb(205, 127, 168)
HSLhsl(328, 44%, 65%)
HSVhsv(328, 38%, 80%)
CMYKcmyk(0%, 38%, 18%, 19.6%)
CIE-LABlab(62.50, 35.83, -8.99)
CIE-LCHlch(62.50, 36.94, 345.91°)
OKLaboklab(69.08% 0.1064 -0.0235)
OKLCHoklch(69.08% 0.109 347.5)
XYZxyz(39.8346, 30.9875, 40.9212)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FA8 #7FCDA4
analogous
#CB7FCD #CD7FA8 #CD7F81
triadic
#CD7FA8 #A8CD7F #7FA8CD
tetradic
#CD7FA8 #CDCB7F #7FCDA4 #7F81CD
square
#CD7FA8 #CDCB7F #7FCDA4 #7F81CD
split-complementary
#CD7FA8 #81CD7F #7FCDCB
monochromatic
#973B6B #BC538A #CD7FA8 #DEABC6 #EFD7E4

Accessibility & contrast

On white

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

On black

7.20
#CD7FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FA8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FA8#FFFFFF#000000##000000
##CD7FA81.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FA9
Deuteranopia (green-blind)
#999CA6
Tritanopia (blue-blind)
#D77E8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7fa8;
/* rgb */ color: rgb(205, 127, 168);
/* oklch */ color: oklch(69.1% 0.109 347.5);
Tailwind
colors: {
  custom: {
    50: '#dea5c1',
    500: '#cd7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fa8;
$custom-light: #dea5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fa8",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 328.462,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.10898,
    "h": 347.5
  },
  "luminance": 0.30985
}

Semantic roles & 50–950 ramp

primary
#CD7FA8
secondary
#C7E1D3
accent
#B76F2F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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