#C781BB#C781BB

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

Color values

HEX#C781BB
RGBrgb(199, 129, 187)
HSLhsl(310, 38%, 64%)
HSVhsv(310, 35%, 78%)
CMYKcmyk(0%, 35.2%, 6%, 22%)
CIE-LABlab(62.87, 35.89, -19.28)
CIE-LCHlch(62.87, 40.74, 331.76°)
OKLaboklab(69.42% 0.1022 -0.0519)
OKLCHoklch(69.42% 0.115 333.1)
XYZxyz(40.3727, 31.4324, 50.9445)
Luminance0.3143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C781BB #81C78D
analogous
#B081C7 #C781BB #C78198
triadic
#C781BB #BBC781 #81BBC7
tetradic
#C781BB #C7B081 #81C78D #8198C7
square
#C781BB #C7B081 #81C78D #8198C7
split-complementary
#C781BB #98C781 #81C7B0
monochromatic
#8E3F81 #B457A4 #C781BB #DAABD2 #EDD6E9

Accessibility & contrast

On white

2.88
#C781BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C781BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C781BB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C781BB#FFFFFF#000000##000000
##C781BB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8092BD
Deuteranopia (green-blind)
#929CB9
Tritanopia (blue-blind)
#CD8596
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c781bb;
/* rgb */ color: rgb(199, 129, 187);
/* oklch */ color: oklch(69.4% 0.115 333.1);
Tailwind
colors: {
  custom: {
    50: '#d9a7cf',
    500: '#c781bb',
    950: '#000000',
  },
}
SCSS
$custom: #c781bb;
$custom-light: #d9a7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c781bb",
  "rgb": {
    "r": 199,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 310.286,
    "s": 38.462,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69418,
    "c": 0.11465,
    "h": 333.1
  },
  "luminance": 0.3143
}

Semantic roles & 50–950 ramp

primary
#C781BB
secondary
#C6DECA
accent
#B14A34
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #C781BB

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

Preview Lab → · Contrast checker → · Palette generator →

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