#CB48A2#CB48A2

#CB48A2 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.191 H 342.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CB48A2
RGBrgb(203, 72, 162)
HSLhsl(319, 56%, 54%)
HSVhsv(319, 65%, 80%)
CMYKcmyk(0%, 64.5%, 20.2%, 20.4%)
CIE-LABlab(51.77, 60.95, -21.78)
CIE-LCHlch(51.77, 64.73, 340.34°)
OKLaboklab(60.94% 0.1823 -0.0583)
OKLCHoklch(60.94% 0.191 342.3)
XYZxyz(33.4685, 19.9430, 36.2622)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48A2 #48CB71
analogous
#B348CB #CB48A2 #CB4861
triadic
#CB48A2 #A2CB48 #48A2CB
tetradic
#CB48A2 #CBB348 #48CB71 #4861CB
square
#CB48A2 #CBB348 #48CB71 #4861CB
split-complementary
#CB48A2 #61CB48 #48CBB3
monochromatic
#77225C #A62F81 #CB48A2 #D978BA #E6A7D2

Accessibility & contrast

On white

4.21
#CB48A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CB48A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48A2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48A2#FFFFFF#000000##000000
##CB48A21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D7496E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb48a2;
/* rgb */ color: rgb(203, 72, 162);
/* oklch */ color: oklch(60.9% 0.191 342.3);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#cb48a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb48a2;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48a2",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 318.779,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.1914,
    "h": 342.3
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#CB48A2
secondary
#9BD3AD
accent
#DF7849
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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