#CB48B3#CB48B3

#CB48B3 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.7% C 0.203 H 335.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CB48B3
RGBrgb(203, 72, 179)
HSLhsl(311, 56%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 64.5%, 11.8%, 20.4%)
CIE-LABlab(52.50, 63.42, -30.62)
CIE-LCHlch(52.50, 70.43, 334.23°)
OKLaboklab(61.71% 0.1852 -0.0833)
OKLCHoklch(61.71% 0.203 335.8)
XYZxyz(35.0830, 20.5888, 44.7654)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48B3 #48CB60
analogous
#A248CB #CB48B3 #CB4872
triadic
#CB48B3 #B3CB48 #48B3CB
tetradic
#CB48B3 #CBA248 #48CB60 #4872CB
square
#CB48B3 #CBA248 #48CB60 #4872CB
split-complementary
#CB48B3 #72CB48 #48CBA2
monochromatic
#772267 #A62F91 #CB48B3 #D978C7 #E6A7DB

Accessibility & contrast

On white

4.10
#CB48B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB48B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48B3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48B3#FFFFFF#000000##000000
##CB48B31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#D55077
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb48b3;
/* rgb */ color: rgb(203, 72, 179);
/* oklch */ color: oklch(61.7% 0.203 335.8);
Tailwind
colors: {
  custom: {
    50: '#de84ca',
    500: '#cb48b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb48b3;
$custom-light: #de84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48b3",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 310.992,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.20306,
    "h": 335.8
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#CB48B3
secondary
#9BD3A6
accent
#DF6449
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB48B3

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

Preview Lab → · Contrast checker → · Palette generator →

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