#CB71BA#CB71BA

#CB71BA is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.3% C 0.145 H 334.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CB71BA
RGBrgb(203, 113, 186)
HSLhsl(311, 46%, 62%)
HSVhsv(311, 44%, 80%)
CMYKcmyk(0%, 44.3%, 8.4%, 20.4%)
CIE-LABlab(59.94, 45.48, -23.15)
CIE-LCHlch(59.94, 51.04, 333.02°)
OKLaboklab(67.3% 0.1309 -0.0625)
OKLCHoklch(67.3% 0.145 334.5)
XYZxyz(39.3966, 28.0543, 49.7848)
Luminance0.2805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71BA #71CB82
analogous
#AF71CB #CB71BA #CB718D
triadic
#CB71BA #BACB71 #71BACB
tetradic
#CB71BA #CBAF71 #71CB82 #718DCB
square
#CB71BA #CBAF71 #71CB82 #718DCB
split-complementary
#CB71BA #8DCB71 #71CBAF
monochromatic
#8E347D #BB44A4 #CB71BA #DB9ED0 #ECCBE6

Accessibility & contrast

On white

3.18
#CB71BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CB71BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71BA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71BA#FFFFFF#000000##000000
##CB71BA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BD
Deuteranopia (green-blind)
#8995B7
Tritanopia (blue-blind)
#D3758D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb71ba;
/* rgb */ color: rgb(203, 113, 186);
/* oklch */ color: oklch(67.3% 0.145 334.5);
Tailwind
colors: {
  custom: {
    50: '#dc9ccf',
    500: '#cb71ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb71ba;
$custom-light: #dc9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71ba",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 311.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67301,
    "c": 0.14502,
    "h": 334.5
  },
  "luminance": 0.28052
}

Semantic roles & 50–950 ramp

primary
#CB71BA
secondary
#BBDCC2
accent
#BA472C
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CB71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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