#CB48AB#CB48AB

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

Color values

HEX#CB48AB
RGBrgb(203, 72, 171)
HSLhsl(315, 56%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 64.5%, 15.8%, 20.4%)
CIE-LABlab(52.15, 62.23, -26.49)
CIE-LCHlch(52.15, 67.64, 336.94°)
OKLaboklab(61.34% 0.184 -0.0716)
OKLCHoklch(61.34% 0.197 338.7)
XYZxyz(34.2973, 20.2745, 40.6272)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48AB #48CB68
analogous
#A948CB #CB48AB #CB486A
triadic
#CB48AB #ABCB48 #48ABCB
tetradic
#CB48AB #CBA948 #48CB68 #486ACB
square
#CB48AB #CBA948 #48CB68 #486ACB
split-complementary
#CB48AB #6ACB48 #48CBA9
monochromatic
#772262 #A62F89 #CB48AB #D978C1 #E6A7D7

Accessibility & contrast

On white

4.15
#CB48AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB48AB#FFFFFF#000000##000000
##CB48AB1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#D64D73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48ab;
/* rgb */ color: rgb(203, 72, 171);
/* oklch */ color: oklch(61.3% 0.197 338.7);
Tailwind
colors: {
  custom: {
    50: '#de84c4',
    500: '#cb48ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb48ab;
$custom-light: #de84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48ab",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 314.656,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.1974,
    "h": 338.7
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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