#CB4D78#CB4D78

#CB4D78 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.0% C 0.164 H 2.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CB4D78
RGBrgb(203, 77, 120)
HSLhsl(340, 55%, 55%)
HSVhsv(340, 62%, 80%)
CMYKcmyk(0%, 62.1%, 40.9%, 20.4%)
CIE-LABlab(51.11, 53.70, 2.23)
CIE-LCHlch(51.11, 53.74, 2.38°)
OKLaboklab(59.98% 0.164 0.0064)
OKLCHoklch(59.98% 0.164 2.2)
XYZxyz(30.6747, 19.3639, 19.8879)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D78 #4DCBA0
analogous
#CB4DB7 #CB4D78 #CB614D
triadic
#CB4D78 #78CB4D #4D78CB
tetradic
#CB4D78 #B7CB4D #4DCBA0 #614DCB
square
#CB4D78 #B7CB4D #4DCBA0 #614DCB
split-complementary
#CB4D78 #4DCB61 #4DB7CB
monochromatic
#7A2441 #A9315A #CB4D78 #D97C9C #E7ACC0

Accessibility & contrast

On white

4.31
#CB4D78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB4D78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D78
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D78#FFFFFF#000000##000000
##CB4D781.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656A79
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#DB3F5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4d78;
/* rgb */ color: rgb(203, 77, 120);
/* oklch */ color: oklch(60.0% 0.164 2.2);
Tailwind
colors: {
  custom: {
    50: '#df859e',
    500: '#cb4d78',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d78;
$custom-light: #df859e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d78",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 339.524,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.16408,
    "h": 2.2
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#CB4D78
secondary
#9FD4C2
accent
#DEAB4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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