#CB47A5#CB47A5

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

Color values

HEX#CB47A5
RGBrgb(203, 71, 165)
HSLhsl(317, 56%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 65%, 18.7%, 20.4%)
CIE-LABlab(51.75, 61.77, -23.58)
CIE-LCHlch(51.75, 66.12, 339.11°)
OKLaboklab(60.96% 0.1841 -0.0633)
OKLCHoklch(60.96% 0.195 341)
XYZxyz(33.6742, 19.9227, 37.6620)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A5 #47CB6D
analogous
#AF47CB #CB47A5 #CB4763
triadic
#CB47A5 #A5CB47 #47A5CB
tetradic
#CB47A5 #CBAF47 #47CB6D #4763CB
square
#CB47A5 #CBAF47 #47CB6D #4763CB
split-complementary
#CB47A5 #63CB47 #47CBAF
monochromatic
#76215E #A62F84 #CB47A5 #D877BC #E6A6D4

Accessibility & contrast

On white

4.21
#CB47A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB47A5#FFFFFF#000000##000000
##CB47A51.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#D74970
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb47a5;
/* rgb */ color: rgb(203, 71, 165);
/* oklch */ color: oklch(61.0% 0.195 341.0);
Tailwind
colors: {
  custom: {
    50: '#de83c0',
    500: '#cb47a5',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a5;
$custom-light: #de83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a5",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 317.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.19469,
    "h": 341
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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