#CD7FB6#CD7FB6

#CD7FB6 is a light, moderate pink. Relative luminance 0.315; OKLCH L 69.6% C 0.119 H 338.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD7FB6
RGBrgb(205, 127, 182)
HSLhsl(318, 44%, 65%)
HSVhsv(318, 38%, 80%)
CMYKcmyk(0%, 38%, 11.2%, 19.6%)
CIE-LABlab(62.96, 38.09, -16.25)
CIE-LCHlch(62.96, 41.42, 336.90°)
OKLaboklab(69.58% 0.1108 -0.0434)
OKLCHoklch(69.58% 0.119 338.6)
XYZxyz(41.2097, 31.5375, 48.1636)
Luminance0.3154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FB6 #7FCD96
analogous
#BD7FCD #CD7FB6 #CD7F8F
triadic
#CD7FB6 #B6CD7F #7FB6CD
tetradic
#CD7FB6 #CDBD7F #7FCD96 #7F8FCD
square
#CD7FB6 #CDBD7F #7FCD96 #7F8FCD
split-complementary
#CD7FB6 #8FCD7F #7FCDBD
monochromatic
#973B7C #BC539D #CD7FB6 #DEABCF #EFD7E8

Accessibility & contrast

On white

2.87
#CD7FB6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD7FB6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FB6
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FB6#FFFFFF#000000##000000
##CD7FB61.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8191B8
Deuteranopia (green-blind)
#959DB4
Tritanopia (blue-blind)
#D58193
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd7fb6;
/* rgb */ color: rgb(205, 127, 182);
/* oklch */ color: oklch(69.6% 0.119 338.6);
Tailwind
colors: {
  custom: {
    50: '#dda5cc',
    500: '#cd7fb6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7fb6;
$custom-light: #dda5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7fb6",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 317.692,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.11896,
    "h": 338.6
  },
  "luminance": 0.31535
}

Semantic roles & 50–950 ramp

primary
#CD7FB6
secondary
#C7E1CE
accent
#B7572F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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