#CB4C9B#CB4C9B

#CB4C9B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.181 H 345.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB4C9B
RGBrgb(203, 76, 155)
HSLhsl(323, 55%, 55%)
HSVhsv(323, 63%, 80%)
CMYKcmyk(0%, 62.6%, 23.6%, 20.4%)
CIE-LABlab(52.10, 58.34, -17.15)
CIE-LCHlch(52.10, 60.81, 343.62°)
OKLaboklab(61.09% 0.1757 -0.0454)
OKLCHoklch(61.09% 0.182 345.5)
XYZxyz(33.1306, 20.2351, 33.1649)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C9B #4CCB7C
analogous
#BB4CCB #CB4C9B #CB4C5C
triadic
#CB4C9B #9BCB4C #4C9BCB
tetradic
#CB4C9B #CBBB4C #4CCB7C #4C5CCB
square
#CB4C9B #CBBB4C #4CCB7C #4C5CCB
split-complementary
#CB4C9B #5CCB4C #4CCBBB
monochromatic
#792359 #A9317C #CB4C9B #D97BB5 #E7ABD0

Accessibility & contrast

On white

4.16
#CB4C9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB4C9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C9B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C9B#FFFFFF#000000##000000
##CB4C9B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9D
Deuteranopia (green-blind)
#7D8498
Tritanopia (blue-blind)
#D84A6D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4c9b;
/* rgb */ color: rgb(203, 76, 155);
/* oklch */ color: oklch(61.1% 0.181 345.5);
Tailwind
colors: {
  custom: {
    50: '#de85b8',
    500: '#cb4c9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c9b;
$custom-light: #de85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c9b",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 155
  },
  "hsl": {
    "h": 322.677,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61093,
    "c": 0.1815,
    "h": 345.5
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#CB4C9B
secondary
#9FD4B3
accent
#DE8249
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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