#CB48AC#CB48AC

#CB48AC is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.198 H 338.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CB48AC
RGBrgb(203, 72, 172)
HSLhsl(314, 56%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 64.5%, 15.3%, 20.4%)
CIE-LABlab(52.19, 62.38, -27.01)
CIE-LCHlch(52.19, 67.98, 336.59°)
OKLaboklab(61.38% 0.1841 -0.073)
OKLCHoklch(61.38% 0.198 338.4)
XYZxyz(34.3930, 20.3128, 41.1311)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48AC #48CB67
analogous
#A848CB #CB48AC #CB486B
triadic
#CB48AC #ACCB48 #48ACCB
tetradic
#CB48AC #CBA848 #48CB67 #486BCB
square
#CB48AC #CBA848 #48CB67 #486BCB
split-complementary
#CB48AC #6BCB48 #48CBA8
monochromatic
#772263 #A62F8A #CB48AC #D978C2 #E6A7D7

Accessibility & contrast

On white

4.15
#CB48AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB48AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48AC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48AC#FFFFFF#000000##000000
##CB48AC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#7684A9
Tritanopia (blue-blind)
#D64D73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48ac;
/* rgb */ color: rgb(203, 72, 172);
/* oklch */ color: oklch(61.4% 0.198 338.4);
Tailwind
colors: {
  custom: {
    50: '#de84c5',
    500: '#cb48ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb48ac;
$custom-light: #de84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48ac",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 314.198,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.19809,
    "h": 338.4
  },
  "luminance": 0.2031
}

Semantic roles & 50–950 ramp

primary
#CB48AC
secondary
#9BD3A9
accent
#DF6C49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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