#CB4C8A#CB4C8A

#CB4C8A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.172 H 353.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB4C8A
RGBrgb(203, 76, 138)
HSLhsl(331, 55%, 55%)
HSVhsv(331, 63%, 80%)
CMYKcmyk(0%, 62.6%, 32%, 20.4%)
CIE-LABlab(51.50, 56.17, -7.97)
CIE-LCHlch(51.50, 56.73, 351.93°)
OKLaboklab(60.45% 0.1712 -0.0204)
OKLCHoklch(60.45% 0.172 353.2)
XYZxyz(31.8021, 19.7037, 26.1682)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C8A #4CCB8D
analogous
#CB4CC9 #CB4C8A #CB4E4C
triadic
#CB4C8A #8ACB4C #4C8ACB
tetradic
#CB4C8A #C9CB4C #4CCB8D #4E4CCB
square
#CB4C8A #C9CB4C #4CCB8D #4E4CCB
split-complementary
#CB4C8A #4CCB4E #4CC9CB
monochromatic
#79234D #A9316B #CB4C8A #D97BA9 #E7ABC8

Accessibility & contrast

On white

4.25
#CB4C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CB4C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C8A#FFFFFF#000000##000000
##CB4C8A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#DA4465
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4c8a;
/* rgb */ color: rgb(203, 76, 138);
/* oklch */ color: oklch(60.5% 0.172 353.2);
Tailwind
colors: {
  custom: {
    50: '#df85ac',
    500: '#cb4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c8a;
$custom-light: #df85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c8a",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 330.709,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.17237,
    "h": 353.2
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#CB4C8A
secondary
#9FD4BA
accent
#DE9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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