#CD7FB1#CD7FB1

#CD7FB1 is a light, moderate pink. Relative luminance 0.313; OKLCH L 69.4% C 0.115 H 341.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD7FB1
RGBrgb(205, 127, 177)
HSLhsl(322, 44%, 65%)
HSVhsv(322, 38%, 80%)
CMYKcmyk(0%, 38%, 13.7%, 19.6%)
CIE-LABlab(62.79, 37.27, -13.67)
CIE-LCHlch(62.79, 39.70, 339.85°)
OKLaboklab(69.4% 0.1093 -0.0363)
OKLCHoklch(69.4% 0.115 341.6)
XYZxyz(40.7022, 31.3345, 45.4907)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FB1 #7FCD9B
analogous
#C27FCD #CD7FB1 #CD7F8A
triadic
#CD7FB1 #B1CD7F #7FB1CD
tetradic
#CD7FB1 #CDC27F #7FCD9B #7F8ACD
square
#CD7FB1 #CDC27F #7FCD9B #7F8ACD
split-complementary
#CD7FB1 #8ACD7F #7FCDC2
monochromatic
#973B76 #BC5396 #CD7FB1 #DEABCC #EFD7E7

Accessibility & contrast

On white

2.89
#CD7FB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD7FB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FB1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FB1#FFFFFF#000000##000000
##CD7FB11.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8390B3
Deuteranopia (green-blind)
#969CAF
Tritanopia (blue-blind)
#D68091
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7fb1;
/* rgb */ color: rgb(205, 127, 177);
/* oklch */ color: oklch(69.4% 0.115 341.6);
Tailwind
colors: {
  custom: {
    50: '#dda5c8',
    500: '#cd7fb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fb1;
$custom-light: #dda5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fb1",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 321.538,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69395,
    "c": 0.11513,
    "h": 341.6
  },
  "luminance": 0.31332
}

Semantic roles & 50–950 ramp

primary
#CD7FB1
secondary
#C7E1D0
accent
#B7602F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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