#CD7BB1#CD7BB1

#CD7BB1 is a light, vivid pink. Relative luminance 0.303; OKLCH L 68.7% C 0.122 H 341.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CD7BB1
RGBrgb(205, 123, 177)
HSLhsl(320, 45%, 64%)
HSVhsv(320, 40%, 80%)
CMYKcmyk(0%, 40%, 13.7%, 19.6%)
CIE-LABlab(61.93, 39.40, -14.97)
CIE-LCHlch(61.93, 42.14, 339.20°)
OKLaboklab(68.75% 0.1155 -0.0398)
OKLCHoklch(68.75% 0.122 341)
XYZxyz(40.1958, 30.3218, 45.3220)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BB1 #7BCD97
analogous
#C07BCD #CD7BB1 #CD7B88
triadic
#CD7BB1 #B1CD7B #7BB1CD
tetradic
#CD7BB1 #CDC07B #7BCD97 #7B88CD
square
#CD7BB1 #CDC07B #7BCD97 #7B88CD
split-complementary
#CD7BB1 #88CD7B #7BCDC0
monochromatic
#953875 #BC4F97 #CD7BB1 #DEA7CB #EFD4E5

Accessibility & contrast

On white

2.97
#CD7BB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CD7BB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BB1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BB1#FFFFFF#000000##000000
##CD7BB11.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB3
Deuteranopia (green-blind)
#949AAF
Tritanopia (blue-blind)
#D67C8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7bb1;
/* rgb */ color: rgb(205, 123, 177);
/* oklch */ color: oklch(68.7% 0.122 341.0);
Tailwind
colors: {
  custom: {
    50: '#dea3c8',
    500: '#cd7bb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bb1;
$custom-light: #dea3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bb1",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 177
  },
  "hsl": {
    "h": 320.488,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68746,
    "c": 0.12214,
    "h": 341
  },
  "luminance": 0.30319
}

Semantic roles & 50–950 ramp

primary
#CD7BB1
secondary
#C4E0CD
accent
#B85D2D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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