#CB47A3#CB47A3

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

Color values

HEX#CB47A3
RGBrgb(203, 71, 163)
HSLhsl(318, 56%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 65%, 19.7%, 20.4%)
CIE-LABlab(51.67, 61.49, -22.53)
CIE-LCHlch(51.67, 65.49, 339.88°)
OKLaboklab(60.88% 0.1837 -0.0604)
OKLCHoklch(60.88% 0.193 341.8)
XYZxyz(33.4936, 19.8505, 36.7108)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A3 #47CB6F
analogous
#B147CB #CB47A3 #CB4761
triadic
#CB47A3 #A3CB47 #47A3CB
tetradic
#CB47A3 #CBB147 #47CB6F #4761CB
square
#CB47A3 #CBB147 #47CB6F #4761CB
split-complementary
#CB47A3 #61CB47 #47CBB1
monochromatic
#76215C #A62F82 #CB47A3 #D877BB #E6A6D3

Accessibility & contrast

On white

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

On black

4.97
#CB47A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47A3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47A3#FFFFFF#000000##000000
##CB47A31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#D7496F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb47a3;
/* rgb */ color: rgb(203, 71, 163);
/* oklch */ color: oklch(60.9% 0.193 341.8);
Tailwind
colors: {
  custom: {
    50: '#de83be',
    500: '#cb47a3',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a3;
$custom-light: #de83be;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a3",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 318.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.19339,
    "h": 341.8
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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