#CB47A8#CB47A8

#CB47A8 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.197 H 339.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB47A8
RGBrgb(203, 71, 168)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 65%, 17.2%, 20.4%)
CIE-LABlab(51.87, 62.20, -25.15)
CIE-LCHlch(51.87, 67.09, 337.98°)
OKLaboklab(61.1% 0.1847 -0.0678)
OKLCHoklch(61.1% 0.197 339.8)
XYZxyz(33.9505, 20.0332, 39.1169)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A8 #47CB6A
analogous
#AC47CB #CB47A8 #CB4766
triadic
#CB47A8 #A8CB47 #47A8CB
tetradic
#CB47A8 #CBAC47 #47CB6A #4766CB
square
#CB47A8 #CBAC47 #47CB6A #4766CB
split-complementary
#CB47A8 #66CB47 #47CBAC
monochromatic
#762160 #A62F86 #CB47A8 #D877BF #E6A6D5

Accessibility & contrast

On white

4.19
#CB47A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB47A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47A8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47A8#FFFFFF#000000##000000
##CB47A81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAB
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#D64B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47a8;
/* rgb */ color: rgb(203, 71, 168);
/* oklch */ color: oklch(61.1% 0.197 339.8);
Tailwind
colors: {
  custom: {
    50: '#de83c2',
    500: '#cb47a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a8;
$custom-light: #de83c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a8",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 315.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.19669,
    "h": 339.8
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#CB47A8
secondary
#9BD3AA
accent
#DF7149
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47A8

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

Preview Lab → · Contrast checker → · Palette generator →

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