#CD7FB5#CD7FB5

#CD7FB5 is a light, moderate pink. Relative luminance 0.315; OKLCH L 69.5% C 0.118 H 339.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CD7FB5
RGBrgb(205, 127, 181)
HSLhsl(318, 44%, 65%)
HSVhsv(318, 38%, 80%)
CMYKcmyk(0%, 38%, 11.7%, 19.6%)
CIE-LABlab(62.92, 37.93, -15.74)
CIE-LCHlch(62.92, 41.06, 337.47°)
OKLaboklab(69.54% 0.1105 -0.042)
OKLCHoklch(69.54% 0.118 339.2)
XYZxyz(41.1067, 31.4964, 47.6213)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FB5 #7FCD97
analogous
#BE7FCD #CD7FB5 #CD7F8E
triadic
#CD7FB5 #B5CD7F #7FB5CD
tetradic
#CD7FB5 #CDBE7F #7FCD97 #7F8ECD
square
#CD7FB5 #CDBE7F #7FCD97 #7F8ECD
split-complementary
#CD7FB5 #8ECD7F #7FCDBE
monochromatic
#973B7A #BC539C #CD7FB5 #DEABCE #EFD7E8

Accessibility & contrast

On white

2.88
#CD7FB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CD7FB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FB5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FB5#FFFFFF#000000##000000
##CD7FB51.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8291B7
Deuteranopia (green-blind)
#959DB3
Tritanopia (blue-blind)
#D58193
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7fb5;
/* rgb */ color: rgb(205, 127, 181);
/* oklch */ color: oklch(69.5% 0.118 339.2);
Tailwind
colors: {
  custom: {
    50: '#dda5cb',
    500: '#cd7fb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fb5;
$custom-light: #dda5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fb5",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 318.462,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69543,
    "c": 0.11816,
    "h": 339.2
  },
  "luminance": 0.31494
}

Semantic roles & 50–950 ramp

primary
#CD7FB5
secondary
#C7E1CF
accent
#B7592F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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