#CB47A2#CB47A2

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

Color values

HEX#CB47A2
RGBrgb(203, 71, 162)
HSLhsl(319, 56%, 54%)
HSVhsv(319, 65%, 80%)
CMYKcmyk(0%, 65%, 20.2%, 20.4%)
CIE-LABlab(51.63, 61.35, -22.01)
CIE-LCHlch(51.63, 65.18, 340.27°)
OKLaboklab(60.83% 0.1835 -0.0589)
OKLCHoklch(60.83% 0.193 342.2)
XYZxyz(33.4044, 19.8148, 36.2408)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A2 #47CB70
analogous
#B247CB #CB47A2 #CB4760
triadic
#CB47A2 #A2CB47 #47A2CB
tetradic
#CB47A2 #CBB247 #47CB70 #4760CB
square
#CB47A2 #CBB247 #47CB70 #4760CB
split-complementary
#CB47A2 #60CB47 #47CBB2
monochromatic
#76215C #A62F81 #CB47A2 #D877BA #E6A6D2

Accessibility & contrast

On white

4.23
#CB47A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB47A2#FFFFFF#000000##000000
##CB47A21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D7486E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb47a2;
/* rgb */ color: rgb(203, 71, 162);
/* oklch */ color: oklch(60.8% 0.193 342.2);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#cb47a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a2;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a2",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 318.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.19275,
    "h": 342.2
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#CB47A2
secondary
#9BD3AC
accent
#DF7749
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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