#CB47A7#CB47A7

#CB47A7 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.196 H 340.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CB47A7
RGBrgb(203, 71, 167)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 65%, 17.7%, 20.4%)
CIE-LABlab(51.83, 62.06, -24.63)
CIE-LCHlch(51.83, 66.77, 338.35°)
OKLaboklab(61.05% 0.1845 -0.0663)
OKLCHoklch(61.05% 0.196 340.2)
XYZxyz(33.8577, 19.9961, 38.6282)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47A7 #47CB6B
analogous
#AD47CB #CB47A7 #CB4765
triadic
#CB47A7 #A7CB47 #47A7CB
tetradic
#CB47A7 #CBAD47 #47CB6B #4765CB
square
#CB47A7 #CBAD47 #47CB6B #4765CB
split-complementary
#CB47A7 #65CB47 #47CBAD
monochromatic
#76215F #A62F85 #CB47A7 #D877BE #E6A6D5

Accessibility & contrast

On white

4.20
#CB47A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB47A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47A7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47A7#FFFFFF#000000##000000
##CB47A71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#D64A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47a7;
/* rgb */ color: rgb(203, 71, 167);
/* oklch */ color: oklch(61.1% 0.196 340.2);
Tailwind
colors: {
  custom: {
    50: '#de83c1',
    500: '#cb47a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb47a7;
$custom-light: #de83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47a7",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 316.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.19602,
    "h": 340.2
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#CB47A7
secondary
#9BD3AA
accent
#DF7249
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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