#CB47B3#CB47B3

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

Color values

HEX#CB47B3
RGBrgb(203, 71, 179)
HSLhsl(311, 56%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 65%, 11.8%, 20.4%)
CIE-LABlab(52.35, 63.82, -30.84)
CIE-LCHlch(52.35, 70.88, 334.21°)
OKLaboklab(61.6% 0.1864 -0.0839)
OKLCHoklch(61.6% 0.204 335.8)
XYZxyz(35.0189, 20.4606, 44.7440)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47B3 #47CB5F
analogous
#A147CB #CB47B3 #CB4771
triadic
#CB47B3 #B3CB47 #47B3CB
tetradic
#CB47B3 #CBA147 #47CB5F #4771CB
square
#CB47B3 #CBA147 #47CB5F #4771CB
split-complementary
#CB47B3 #71CB47 #47CBA1
monochromatic
#762167 #A62F90 #CB47B3 #D877C7 #E6A6DA

Accessibility & contrast

On white

4.12
#CB47B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CB47B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47B3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47B3#FFFFFF#000000##000000
##CB47B31.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#D54F77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb47b3;
/* rgb */ color: rgb(203, 71, 179);
/* oklch */ color: oklch(61.6% 0.204 335.8);
Tailwind
colors: {
  custom: {
    50: '#de83ca',
    500: '#cb47b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb47b3;
$custom-light: #de83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47b3",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 310.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.20438,
    "h": 335.8
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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