#CB4B8A#CB4B8A

#CB4B8A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.174 H 353.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB4B8A
RGBrgb(203, 75, 138)
HSLhsl(330, 55%, 55%)
HSVhsv(330, 63%, 80%)
CMYKcmyk(0%, 63.1%, 32%, 20.4%)
CIE-LABlab(51.34, 56.59, -8.20)
CIE-LCHlch(51.34, 57.18, 351.76°)
OKLaboklab(60.34% 0.1725 -0.021)
OKLCHoklch(60.34% 0.174 353.1)
XYZxyz(31.7337, 19.5670, 26.1454)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4B8A #4BCB8C
analogous
#CB4BCA #CB4B8A #CB4C4B
triadic
#CB4B8A #8ACB4B #4B8ACB
tetradic
#CB4B8A #CACB4B #4BCB8C #4C4BCB
square
#CB4B8A #CACB4B #4BCB8C #4C4BCB
split-complementary
#CB4B8A #4BCB4C #4BCACB
monochromatic
#79234D #A8316B #CB4B8A #D97AA9 #E6AAC8

Accessibility & contrast

On white

4.27
#CB4B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB4B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4B8A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4B8A#FFFFFF#000000##000000
##CB4B8A1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#DA4364
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4b8a;
/* rgb */ color: rgb(203, 75, 138);
/* oklch */ color: oklch(60.3% 0.174 353.1);
Tailwind
colors: {
  custom: {
    50: '#df84ac',
    500: '#cb4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4b8a;
$custom-light: #df84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4b8a",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 330.469,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.17375,
    "h": 353.1
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

primary
#CB4B8A
secondary
#9ED4B9
accent
#DF9549
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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