#CB47B2#CB47B2

#CB47B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.204 H 336.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB47B2
RGBrgb(203, 71, 178)
HSLhsl(311, 56%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 65%, 12.3%, 20.4%)
CIE-LABlab(52.31, 63.67, -30.33)
CIE-LCHlch(52.31, 70.52, 334.53°)
OKLaboklab(61.56% 0.1862 -0.0824)
OKLCHoklch(61.56% 0.204 336.1)
XYZxyz(34.9182, 20.4203, 44.2133)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47B2 #47CB60
analogous
#A247CB #CB47B2 #CB4770
triadic
#CB47B2 #B2CB47 #47B2CB
tetradic
#CB47B2 #CBA247 #47CB60 #4770CB
square
#CB47B2 #CBA247 #47CB60 #4770CB
split-complementary
#CB47B2 #70CB47 #47CBA2
monochromatic
#762166 #A62F8F #CB47B2 #D877C6 #E6A6DA

Accessibility & contrast

On white

4.13
#CB47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47B2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47B2#FFFFFF#000000##000000
##CB47B21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D54F76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb47b2;
/* rgb */ color: rgb(203, 71, 178);
/* oklch */ color: oklch(61.6% 0.204 336.1);
Tailwind
colors: {
  custom: {
    50: '#de83c9',
    500: '#cb47b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb47b2;
$custom-light: #de83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47b2",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 311.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.20366,
    "h": 336.1
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#CB47B2
secondary
#9BD3A5
accent
#DF6549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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