#CB48A6#CB48A6

#CB48A6 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.194 H 340.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CB48A6
RGBrgb(203, 72, 166)
HSLhsl(317, 56%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 64.5%, 18.2%, 20.4%)
CIE-LABlab(51.94, 61.51, -23.88)
CIE-LCHlch(51.94, 65.99, 338.78°)
OKLaboklab(61.11% 0.1831 -0.0642)
OKLCHoklch(61.11% 0.194 340.7)
XYZxyz(33.8297, 20.0875, 38.1646)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48A6 #48CB6D
analogous
#AF48CB #CB48A6 #CB4865
triadic
#CB48A6 #A6CB48 #48A6CB
tetradic
#CB48A6 #CBAF48 #48CB6D #4865CB
square
#CB48A6 #CBAF48 #48CB6D #4865CB
split-complementary
#CB48A6 #65CB48 #48CBAF
monochromatic
#77225F #A62F85 #CB48A6 #D978BD #E6A7D4

Accessibility & contrast

On white

4.19
#CB48A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CB48A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48A6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48A6#FFFFFF#000000##000000
##CB48A61.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#7884A3
Tritanopia (blue-blind)
#D74B70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48a6;
/* rgb */ color: rgb(203, 72, 166);
/* oklch */ color: oklch(61.1% 0.194 340.7);
Tailwind
colors: {
  custom: {
    50: '#de84c0',
    500: '#cb48a6',
    950: '#000000',
  },
}
SCSS
$custom: #cb48a6;
$custom-light: #de84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48a6",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 166
  },
  "hsl": {
    "h": 316.947,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.19401,
    "h": 340.7
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#CB48A6
secondary
#9BD3AB
accent
#DF7349
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48A6

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

Preview Lab → · Contrast checker → · Palette generator →

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