#CB47AC#CB47AC

#CB47AC is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.199 H 338.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CB47AC
RGBrgb(203, 71, 172)
HSLhsl(314, 56%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 65%, 15.3%, 20.4%)
CIE-LABlab(52.05, 62.78, -27.23)
CIE-LCHlch(52.05, 68.43, 336.55°)
OKLaboklab(61.28% 0.1853 -0.0737)
OKLCHoklch(61.28% 0.199 338.3)
XYZxyz(34.3289, 20.1846, 41.1097)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47AC #47CB66
analogous
#A847CB #CB47AC #CB476A
triadic
#CB47AC #ACCB47 #47ACCB
tetradic
#CB47AC #CBA847 #47CB66 #476ACB
square
#CB47AC #CBA847 #47CB66 #476ACB
split-complementary
#CB47AC #6ACB47 #47CBA8
monochromatic
#762162 #A62F8A #CB47AC #D877C2 #E6A6D7

Accessibility & contrast

On white

4.17
#CB47AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CB47AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47AC#FFFFFF#000000##000000
##CB47AC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAF
Deuteranopia (green-blind)
#7684A9
Tritanopia (blue-blind)
#D64C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47ac;
/* rgb */ color: rgb(203, 71, 172);
/* oklch */ color: oklch(61.3% 0.199 338.3);
Tailwind
colors: {
  custom: {
    50: '#de83c5',
    500: '#cb47ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb47ac;
$custom-light: #de83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47ac",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 314.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.19943,
    "h": 338.3
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#CB47AC
secondary
#9BD3A8
accent
#DF6C49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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