#CB47AB#CB47AB

#CB47AB is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.199 H 338.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB47AB
RGBrgb(203, 71, 171)
HSLhsl(315, 56%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 65%, 15.8%, 20.4%)
CIE-LABlab(52.00, 62.63, -26.71)
CIE-LCHlch(52.00, 68.09, 336.90°)
OKLaboklab(61.23% 0.1852 -0.0722)
OKLCHoklch(61.23% 0.199 338.7)
XYZxyz(34.2332, 20.1463, 40.6059)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47AB #47CB67
analogous
#A947CB #CB47AB #CB4769
triadic
#CB47AB #ABCB47 #47ABCB
tetradic
#CB47AB #CBA947 #47CB67 #4769CB
square
#CB47AB #CBA947 #47CB67 #4769CB
split-complementary
#CB47AB #69CB47 #47CBA9
monochromatic
#762162 #A62F89 #CB47AB #D877C1 #E6A6D7

Accessibility & contrast

On white

4.18
#CB47AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CB47AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47AB#FFFFFF#000000##000000
##CB47AB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#D64C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47ab;
/* rgb */ color: rgb(203, 71, 171);
/* oklch */ color: oklch(61.2% 0.199 338.7);
Tailwind
colors: {
  custom: {
    50: '#de83c4',
    500: '#cb47ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb47ab;
$custom-light: #de83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47ab",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 314.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.19874,
    "h": 338.7
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#CB47AB
secondary
#9BD3A8
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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