#CB48AA#CB48AA

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

Color values

HEX#CB48AA
RGBrgb(203, 72, 170)
HSLhsl(315, 56%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 64.5%, 16.3%, 20.4%)
CIE-LABlab(52.10, 62.09, -25.97)
CIE-LCHlch(52.10, 67.30, 337.30°)
OKLaboklab(61.29% 0.1838 -0.0701)
OKLCHoklch(61.29% 0.197 339.1)
XYZxyz(34.2024, 20.2366, 40.1271)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48AA #48CB69
analogous
#AB48CB #CB48AA #CB4869
triadic
#CB48AA #AACB48 #48AACB
tetradic
#CB48AA #CBAB48 #48CB69 #4869CB
square
#CB48AA #CBAB48 #48CB69 #4869CB
split-complementary
#CB48AA #69CB48 #48CBAB
monochromatic
#772261 #A62F88 #CB48AA #D978C0 #E6A7D6

Accessibility & contrast

On white

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

On black

5.05
#CB48AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48AA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48AA#FFFFFF#000000##000000
##CB48AA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#D64C72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48aa;
/* rgb */ color: rgb(203, 72, 170);
/* oklch */ color: oklch(61.3% 0.197 339.1);
Tailwind
colors: {
  custom: {
    50: '#de84c3',
    500: '#cb48aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb48aa;
$custom-light: #de84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48aa",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 315.115,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61291,
    "c": 0.19671,
    "h": 339.1
  },
  "luminance": 0.20234
}

Semantic roles & 50–950 ramp

primary
#CB48AA
secondary
#9BD3AA
accent
#DF6F49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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