#CB47A4#CB47A4

#CB47A4 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.194 H 341.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB47A4
RGBrgb(203, 71, 164)
HSLhsl(318, 56%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 65%, 19.2%, 20.4%)
CIE-LABlab(51.71, 61.63, -23.06)
CIE-LCHlch(51.71, 65.81, 339.49°)
OKLaboklab(60.92% 0.1839 -0.0619)
OKLCHoklch(60.92% 0.194 341.4)
XYZxyz(33.5836, 19.8864, 37.1845)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A4 #47CB6E
analogous
#B047CB #CB47A4 #CB4762
triadic
#CB47A4 #A4CB47 #47A4CB
tetradic
#CB47A4 #CBB047 #47CB6E #4762CB
square
#CB47A4 #CBB047 #47CB6E #4762CB
split-complementary
#CB47A4 #62CB47 #47CBB0
monochromatic
#76215D #A62F83 #CB47A4 #D877BC #E6A6D3

Accessibility & contrast

On white

4.22
#CB47A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB47A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47A4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47A4#FFFFFF#000000##000000
##CB47A41.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA7
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#D7496F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb47a4;
/* rgb */ color: rgb(203, 71, 164);
/* oklch */ color: oklch(60.9% 0.194 341.4);
Tailwind
colors: {
  custom: {
    50: '#de83bf',
    500: '#cb47a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a4;
$custom-light: #de83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a4",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 317.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.19404,
    "h": 341.4
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#CB47A4
secondary
#9BD3AB
accent
#DF7549
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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