#CB48A9#CB48A9

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

Color values

HEX#CB48A9
RGBrgb(203, 72, 169)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 64.5%, 16.7%, 20.4%)
CIE-LABlab(52.06, 61.94, -25.45)
CIE-LCHlch(52.06, 66.97, 337.66°)
OKLaboklab(61.25% 0.1836 -0.0686)
OKLCHoklch(61.25% 0.196 339.5)
XYZxyz(34.1081, 20.1989, 39.6308)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48A9 #48CB6A
analogous
#AC48CB #CB48A9 #CB4868
triadic
#CB48A9 #A9CB48 #48A9CB
tetradic
#CB48A9 #CBAC48 #48CB6A #4868CB
square
#CB48A9 #CBAC48 #48CB6A #4868CB
split-complementary
#CB48A9 #68CB48 #48CBAC
monochromatic
#772261 #A62F88 #CB48A9 #D978BF #E6A7D6

Accessibility & contrast

On white

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

On black

5.04
#CB48A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48A9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48A9#FFFFFF#000000##000000
##CB48A91.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#7784A6
Tritanopia (blue-blind)
#D64C72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48a9;
/* rgb */ color: rgb(203, 72, 169);
/* oklch */ color: oklch(61.2% 0.196 339.5);
Tailwind
colors: {
  custom: {
    50: '#de84c2',
    500: '#cb48a9',
    950: '#000000',
  },
}
SCSS
$custom: #cb48a9;
$custom-light: #de84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48a9",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 315.573,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.19603,
    "h": 339.5
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#CB48A9
secondary
#9BD3AA
accent
#DF7049
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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