#CB4789#CB4789

#CB4789 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.9% C 0.179 H 352.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB4789
RGBrgb(203, 71, 137)
HSLhsl(330, 56%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65%, 32.5%, 20.4%)
CIE-LABlab(50.70, 58.14, -8.56)
CIE-LCHlch(50.70, 58.76, 351.62°)
OKLaboklab(59.85% 0.1774 -0.0219)
OKLCHoklch(59.85% 0.179 352.9)
XYZxyz(31.3989, 19.0126, 25.6783)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4789 #47CB89
analogous
#CB47CB #CB4789 #CB4747
triadic
#CB4789 #89CB47 #4789CB
tetradic
#CB4789 #CBCB47 #47CB89 #4747CB
square
#CB4789 #CBCB47 #47CB89 #4747CB
split-complementary
#CB4789 #47CB47 #47CBCB
monochromatic
#76214C #A62F6A #CB4789 #D877A8 #E6A6C6

Accessibility & contrast

On white

4.37
#CB4789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CB4789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4789
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4789#FFFFFF#000000##000000
##CB47891.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#808286
Tritanopia (blue-blind)
#DA3E62
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4789;
/* rgb */ color: rgb(203, 71, 137);
/* oklch */ color: oklch(59.9% 0.179 352.9);
Tailwind
colors: {
  custom: {
    50: '#df82ab',
    500: '#cb4789',
    950: '#000000',
  },
}
SCSS
$custom: #cb4789;
$custom-light: #df82ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4789",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 330,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.17873,
    "h": 352.9
  },
  "luminance": 0.19009
}

Semantic roles & 50–950 ramp

primary
#CB4789
secondary
#9BD3B7
accent
#DF9449
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4789

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

Preview Lab → · Contrast checker → · Palette generator →

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