#CB48B2#CB48B2

#CB48B2 is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.7% C 0.202 H 336.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CB48B2
RGBrgb(203, 72, 178)
HSLhsl(311, 56%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 64.5%, 12.3%, 20.4%)
CIE-LABlab(52.45, 63.27, -30.11)
CIE-LCHlch(52.45, 70.07, 334.55°)
OKLaboklab(61.66% 0.1851 -0.0818)
OKLCHoklch(61.66% 0.202 336.1)
XYZxyz(34.9823, 20.5485, 44.2347)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48B2 #48CB61
analogous
#A348CB #CB48B2 #CB4871
triadic
#CB48B2 #B2CB48 #48B2CB
tetradic
#CB48B2 #CBA348 #48CB61 #4871CB
square
#CB48B2 #CBA348 #48CB61 #4871CB
split-complementary
#CB48B2 #71CB48 #48CBA3
monochromatic
#772267 #A62F90 #CB48B2 #D978C6 #E6A7DA

Accessibility & contrast

On white

4.11
#CB48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CB48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48B2#FFFFFF#000000##000000
##CB48B21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#D55077
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb48b2;
/* rgb */ color: rgb(203, 72, 178);
/* oklch */ color: oklch(61.7% 0.202 336.1);
Tailwind
colors: {
  custom: {
    50: '#de84c9',
    500: '#cb48b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb48b2;
$custom-light: #de84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48b2",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 311.45,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.20233,
    "h": 336.1
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#CB48B2
secondary
#9BD3A6
accent
#DF6549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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