#CB48B8#CB48B8

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

Color values

HEX#CB48B8
RGBrgb(203, 72, 184)
HSLhsl(309, 56%, 54%)
HSVhsv(309, 65%, 80%)
CMYKcmyk(0%, 64.5%, 9.4%, 20.4%)
CIE-LABlab(52.72, 64.19, -33.17)
CIE-LCHlch(52.72, 72.25, 332.67°)
OKLaboklab(61.95% 0.1858 -0.0906)
OKLCHoklch(61.95% 0.207 334)
XYZxyz(35.5979, 20.7948, 47.4770)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48B8 #48CB5B
analogous
#9D48CB #CB48B8 #CB4877
triadic
#CB48B8 #B8CB48 #48B8CB
tetradic
#CB48B8 #CB9D48 #48CB5B #4877CB
square
#CB48B8 #CB9D48 #48CB5B #4877CB
split-complementary
#CB48B8 #77CB48 #48CB9D
monochromatic
#77226A #A62F95 #CB48B8 #D978CA #E6A7DD

Accessibility & contrast

On white

4.07
#CB48B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB48B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48B8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48B8#FFFFFF#000000##000000
##CB48B81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#7185B5
Tritanopia (blue-blind)
#D4527A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb48b8;
/* rgb */ color: rgb(203, 72, 184);
/* oklch */ color: oklch(61.9% 0.207 334.0);
Tailwind
colors: {
  custom: {
    50: '#de84cd',
    500: '#cb48b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb48b8;
$custom-light: #de84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48b8",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 308.702,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.20673,
    "h": 334
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#CB48B8
secondary
#9BD3A4
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB48B8

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

Preview Lab → · Contrast checker → · Palette generator →

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