#CB49B1#CB49B1

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

Color values

HEX#CB49B1
RGBrgb(203, 73, 177)
HSLhsl(312, 56%, 54%)
HSVhsv(312, 64%, 80%)
CMYKcmyk(0%, 64%, 12.8%, 20.4%)
CIE-LABlab(52.55, 62.72, -29.37)
CIE-LCHlch(52.55, 69.25, 334.91°)
OKLaboklab(61.72% 0.1837 -0.0797)
OKLCHoklch(61.72% 0.2 336.5)
XYZxyz(34.9474, 20.6389, 43.7296)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB49B1 #49CB63
analogous
#A449CB #CB49B1 #CB4970
triadic
#CB49B1 #B1CB49 #49B1CB
tetradic
#CB49B1 #CBA449 #49CB63 #4970CB
square
#CB49B1 #CBA449 #49CB63 #4970CB
split-complementary
#CB49B1 #70CB49 #49CBA4
monochromatic
#772266 #A7308F #CB49B1 #D979C5 #E6A8DA

Accessibility & contrast

On white

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

On black

5.13
#CB49B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB49B1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB49B1#FFFFFF#000000##000000
##CB49B11.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#D55076
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb49b1;
/* rgb */ color: rgb(203, 73, 177);
/* oklch */ color: oklch(61.7% 0.200 336.5);
Tailwind
colors: {
  custom: {
    50: '#de84c8',
    500: '#cb49b1',
    950: '#000000',
  },
}
SCSS
$custom: #cb49b1;
$custom-light: #de84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb49b1",
  "rgb": {
    "r": 203,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 312,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.20027,
    "h": 336.5
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#CB49B1
secondary
#9CD4A7
accent
#DF6749
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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