#CB71A2#CB71A2

#CB71A2 is a light, vivid pink. Relative luminance 0.271; OKLCH L 66.4% C 0.127 H 347.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CB71A2
RGBrgb(203, 113, 162)
HSLhsl(327, 46%, 62%)
HSVhsv(327, 44%, 80%)
CMYKcmyk(0%, 44.3%, 20.2%, 20.4%)
CIE-LABlab(59.08, 41.63, -10.68)
CIE-LCHlch(59.08, 42.98, 345.61°)
OKLaboklab(66.38% 0.1242 -0.028)
OKLCHoklch(66.38% 0.127 347.3)
XYZxyz(37.0560, 27.1181, 37.4580)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB71A2 #71CB9A
analogous
#C771CB #CB71A2 #CB7175
triadic
#CB71A2 #A2CB71 #71A2CB
tetradic
#CB71A2 #CBC771 #71CB9A #7175CB
square
#CB71A2 #CBC771 #71CB9A #7175CB
split-complementary
#CB71A2 #75CB71 #71CBC7
monochromatic
#8E3465 #BB4485 #CB71A2 #DB9EBF #ECCBDD

Accessibility & contrast

On white

3.27
#CB71A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CB71A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB71A2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB71A2#FFFFFF#000000##000000
##CB71A21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A4
Deuteranopia (green-blind)
#9094A0
Tritanopia (blue-blind)
#D66F83
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb71a2;
/* rgb */ color: rgb(203, 113, 162);
/* oklch */ color: oklch(66.4% 0.127 347.3);
Tailwind
colors: {
  custom: {
    50: '#dd9cbd',
    500: '#cb71a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb71a2;
$custom-light: #dd9cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb71a2",
  "rgb": {
    "r": 203,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 327.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.12731,
    "h": 347.3
  },
  "luminance": 0.27115
}

Semantic roles & 50–950 ramp

primary
#CB71A2
secondary
#BBDCCA
accent
#BA6C2C
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E12
muted
#837E81

Preview Lab

Preview with #CB71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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