#CB48A8#CB48A8

#CB48A8 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.195 H 339.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB48A8
RGBrgb(203, 72, 168)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 64.5%, 17.2%, 20.4%)
CIE-LABlab(52.02, 61.80, -24.93)
CIE-LCHlch(52.02, 66.64, 338.03°)
OKLaboklab(61.2% 0.1835 -0.0671)
OKLCHoklch(61.2% 0.195 339.9)
XYZxyz(34.0146, 20.1615, 39.1383)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48A8 #48CB6B
analogous
#AD48CB #CB48A8 #CB4867
triadic
#CB48A8 #A8CB48 #48A8CB
tetradic
#CB48A8 #CBAD48 #48CB6B #4867CB
square
#CB48A8 #CBAD48 #48CB6B #4867CB
split-complementary
#CB48A8 #67CB48 #48CBAD
monochromatic
#772260 #A62F87 #CB48A8 #D978BF #E6A7D5

Accessibility & contrast

On white

4.17
#CB48A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CB48A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48A8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48A8#FFFFFF#000000##000000
##CB48A81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#7784A5
Tritanopia (blue-blind)
#D64B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48a8;
/* rgb */ color: rgb(203, 72, 168);
/* oklch */ color: oklch(61.2% 0.195 339.9);
Tailwind
colors: {
  custom: {
    50: '#de84c2',
    500: '#cb48a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb48a8;
$custom-light: #de84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48a8",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 316.031,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.19535,
    "h": 339.9
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#CB48A8
secondary
#9BD3AA
accent
#DF7149
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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