#CD7BB2#CD7BB2

#CD7BB2 is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.8% C 0.123 H 340.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CD7BB2
RGBrgb(205, 123, 178)
HSLhsl(320, 45%, 64%)
HSVhsv(320, 40%, 80%)
CMYKcmyk(0%, 40%, 13.2%, 19.6%)
CIE-LABlab(61.97, 39.56, -15.48)
CIE-LCHlch(61.97, 42.48, 338.62°)
OKLaboklab(68.78% 0.1158 -0.0412)
OKLCHoklch(68.78% 0.123 340.4)
XYZxyz(40.2959, 30.3618, 45.8488)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7BB2 #7BCD96
analogous
#BF7BCD #CD7BB2 #CD7B89
triadic
#CD7BB2 #B2CD7B #7BB2CD
tetradic
#CD7BB2 #CDBF7B #7BCD96 #7B89CD
square
#CD7BB2 #CDBF7B #7BCD96 #7B89CD
split-complementary
#CD7BB2 #89CD7B #7BCDBF
monochromatic
#953877 #BC4F98 #CD7BB2 #DEA7CC #EFD4E6

Accessibility & contrast

On white

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

On black

7.07
#CD7BB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7BB2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7BB2#FFFFFF#000000##000000
##CD7BB21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB4
Deuteranopia (green-blind)
#939AB0
Tritanopia (blue-blind)
#D67C8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7bb2;
/* rgb */ color: rgb(205, 123, 178);
/* oklch */ color: oklch(68.8% 0.123 340.4);
Tailwind
colors: {
  custom: {
    50: '#dea3c9',
    500: '#cd7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7bb2;
$custom-light: #dea3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7bb2",
  "rgb": {
    "r": 205,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 319.756,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.12289,
    "h": 340.4
  },
  "luminance": 0.30359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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