#CB47A1#CB47A1

#CB47A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.192 H 342.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB47A1
RGBrgb(203, 71, 161)
HSLhsl(319, 56%, 54%)
HSVhsv(319, 65%, 80%)
CMYKcmyk(0%, 65%, 20.7%, 20.4%)
CIE-LABlab(51.59, 61.22, -21.48)
CIE-LCHlch(51.59, 64.88, 340.67°)
OKLaboklab(60.79% 0.1833 -0.0574)
OKLCHoklch(60.79% 0.192 342.6)
XYZxyz(33.3159, 19.7794, 35.7745)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A1 #47CB71
analogous
#B347CB #CB47A1 #CB475F
triadic
#CB47A1 #A1CB47 #47A1CB
tetradic
#CB47A1 #CBB347 #47CB71 #475FCB
square
#CB47A1 #CBB347 #47CB71 #475FCB
split-complementary
#CB47A1 #5FCB47 #47CBB3
monochromatic
#76215B #A62F80 #CB47A1 #D877B9 #E6A6D2

Accessibility & contrast

On white

4.24
#CB47A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB47A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47A1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47A1#FFFFFF#000000##000000
##CB47A11.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#D7486E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb47a1;
/* rgb */ color: rgb(203, 71, 161);
/* oklch */ color: oklch(60.8% 0.192 342.6);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#cb47a1',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a1;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a1",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 319.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60791,
    "c": 0.19211,
    "h": 342.6
  },
  "luminance": 0.19776
}

Semantic roles & 50–950 ramp

primary
#CB47A1
secondary
#9BD3AD
accent
#DF7949
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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