#CB47AD#CB47AD

#CB47AD is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.200 H 338.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CB47AD
RGBrgb(203, 71, 173)
HSLhsl(314, 56%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 65%, 14.8%, 20.4%)
CIE-LABlab(52.09, 62.92, -27.75)
CIE-LCHlch(52.09, 68.77, 336.20°)
OKLaboklab(61.32% 0.1855 -0.0751)
OKLCHoklch(61.32% 0.2 338)
XYZxyz(34.4253, 20.2231, 41.6174)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47AD #47CB65
analogous
#A747CB #CB47AD #CB476B
triadic
#CB47AD #ADCB47 #47ADCB
tetradic
#CB47AD #CBA747 #47CB65 #476BCB
square
#CB47AD #CBA747 #47CB65 #476BCB
split-complementary
#CB47AD #6BCB47 #47CBA7
monochromatic
#762163 #A62F8B #CB47AD #D877C2 #E6A6D8

Accessibility & contrast

On white

4.16
#CB47AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB47AD#FFFFFF#000000##000000
##CB47AD1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#7584AA
Tritanopia (blue-blind)
#D64D74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47ad;
/* rgb */ color: rgb(203, 71, 173);
/* oklch */ color: oklch(61.3% 0.200 338.0);
Tailwind
colors: {
  custom: {
    50: '#de83c5',
    500: '#cb47ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb47ad;
$custom-light: #de83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47ad",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 313.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.20012,
    "h": 338
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB47AD

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

Preview Lab → · Contrast checker → · Palette generator →

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