#CB4A8B#CB4A8B

#CB4A8B is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.176 H 352.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB4A8B
RGBrgb(203, 74, 139)
HSLhsl(330, 55%, 54%)
HSVhsv(330, 64%, 80%)
CMYKcmyk(0%, 63.5%, 31.5%, 20.4%)
CIE-LABlab(51.22, 57.13, -8.98)
CIE-LCHlch(51.22, 57.84, 351.07°)
OKLaboklab(60.26% 0.1741 -0.0231)
OKLCHoklch(60.26% 0.176 352.4)
XYZxyz(31.7392, 19.4615, 26.5061)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A8B #4ACB8A
analogous
#CA4ACB #CB4A8B #CB4A4B
triadic
#CB4A8B #8BCB4A #4A8BCB
tetradic
#CB4A8B #CBCA4A #4ACB8A #4A4BCB
square
#CB4A8B #CBCA4A #4ACB8A #4A4BCB
split-complementary
#CB4A8B #4BCB4A #4ACBCA
monochromatic
#78234E #A8306C #CB4A8B #D97AA9 #E6A9C8

Accessibility & contrast

On white

4.29
#CB4A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB4A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A8B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A8B#FFFFFF#000000##000000
##CB4A8B1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8D
Deuteranopia (green-blind)
#818388
Tritanopia (blue-blind)
#DA4264
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4a8b;
/* rgb */ color: rgb(203, 74, 139);
/* oklch */ color: oklch(60.3% 0.176 352.4);
Tailwind
colors: {
  custom: {
    50: '#df84ac',
    500: '#cb4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a8b;
$custom-light: #df84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a8b",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 329.767,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.17561,
    "h": 352.4
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#CB4A8B
secondary
#9DD4B8
accent
#DF9349
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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