#CB47AA#CB47AA

#CB47AA is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.198 H 339.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CB47AA
RGBrgb(203, 71, 170)
HSLhsl(315, 56%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 65%, 16.3%, 20.4%)
CIE-LABlab(51.96, 62.49, -26.19)
CIE-LCHlch(51.96, 67.76, 337.26°)
OKLaboklab(61.19% 0.185 -0.0707)
OKLCHoklch(61.19% 0.198 339.1)
XYZxyz(34.1382, 20.1083, 40.1058)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB47AA #47CB68
analogous
#AA47CB #CB47AA #CB4768
triadic
#CB47AA #AACB47 #47AACB
tetradic
#CB47AA #CBAA47 #47CB68 #4768CB
square
#CB47AA #CBAA47 #47CB68 #4768CB
split-complementary
#CB47AA #68CB47 #47CBAA
monochromatic
#762161 #A62F88 #CB47AA #D877C0 #E6A6D6

Accessibility & contrast

On white

4.18
#CB47AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CB47AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB47AA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB47AA#FFFFFF#000000##000000
##CB47AA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAD
Deuteranopia (green-blind)
#7683A7
Tritanopia (blue-blind)
#D64B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb47aa;
/* rgb */ color: rgb(203, 71, 170);
/* oklch */ color: oklch(61.2% 0.198 339.1);
Tailwind
colors: {
  custom: {
    50: '#de83c3',
    500: '#cb47aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb47aa;
$custom-light: #de83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb47aa",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 315,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.19806,
    "h": 339.1
  },
  "luminance": 0.20105
}

Semantic roles & 50–950 ramp

primary
#CB47AA
secondary
#9BD3A9
accent
#DF6E49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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