#CD7FB2#CD7FB2

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

Color values

HEX#CD7FB2
RGBrgb(205, 127, 178)
HSLhsl(321, 44%, 65%)
HSVhsv(321, 38%, 80%)
CMYKcmyk(0%, 38%, 13.2%, 19.6%)
CIE-LABlab(62.82, 37.43, -14.19)
CIE-LCHlch(62.82, 40.03, 339.24°)
OKLaboklab(69.43% 0.1096 -0.0377)
OKLCHoklch(69.43% 0.116 341)
XYZxyz(40.8022, 31.3746, 46.0176)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FB2 #7FCD9A
analogous
#C17FCD #CD7FB2 #CD7F8B
triadic
#CD7FB2 #B2CD7F #7FB2CD
tetradic
#CD7FB2 #CDC17F #7FCD9A #7F8BCD
square
#CD7FB2 #CDC17F #7FCD9A #7F8BCD
split-complementary
#CD7FB2 #8BCD7F #7FCDC1
monochromatic
#973B77 #BC5398 #CD7FB2 #DEABCC #EFD7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FB2#FFFFFF#000000##000000
##CD7FB21.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)
#8390B4
Deuteranopia (green-blind)
#969DB0
Tritanopia (blue-blind)
#D68091
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7fb2;
/* rgb */ color: rgb(205, 127, 178);
/* oklch */ color: oklch(69.4% 0.116 341.0);
Tailwind
colors: {
  custom: {
    50: '#dda5c9',
    500: '#cd7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fb2;
$custom-light: #dda5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fb2",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 320.769,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69432,
    "c": 0.11587,
    "h": 341
  },
  "luminance": 0.31372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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