#CB48B9#CB48B9

#CB48B9 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.207 H 333.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CB48B9
RGBrgb(203, 72, 185)
HSLhsl(308, 56%, 54%)
HSVhsv(308, 65%, 80%)
CMYKcmyk(0%, 64.5%, 8.9%, 20.4%)
CIE-LABlab(52.77, 64.34, -33.68)
CIE-LCHlch(52.77, 72.62, 332.37°)
OKLaboklab(62% 0.186 -0.092)
OKLCHoklch(62% 0.207 333.7)
XYZxyz(35.7031, 20.8369, 48.0310)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48B9 #48CB5A
analogous
#9C48CB #CB48B9 #CB4878
triadic
#CB48B9 #B9CB48 #48B9CB
tetradic
#CB48B9 #CB9C48 #48CB5A #4878CB
square
#CB48B9 #CB9C48 #48CB5A #4878CB
split-complementary
#CB48B9 #78CB48 #48CB9C
monochromatic
#77226B #A62F96 #CB48B9 #D978CB #E6A7DD

Accessibility & contrast

On white

4.06
#CB48B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB48B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48B9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48B9#FFFFFF#000000##000000
##CB48B91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#7185B6
Tritanopia (blue-blind)
#D4527A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb48b9;
/* rgb */ color: rgb(203, 72, 185);
/* oklch */ color: oklch(62.0% 0.207 333.7);
Tailwind
colors: {
  custom: {
    50: '#de84ce',
    500: '#cb48b9',
    950: '#000000',
  },
}
SCSS
$custom: #cb48b9;
$custom-light: #de84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48b9",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 308.244,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.20748,
    "h": 333.7
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#CB48B9
secondary
#9BD3A3
accent
#DF5D49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB48B9

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

Preview Lab → · Contrast checker → · Palette generator →

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