#CB4A78#CB4A78

#CB4A78 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.6% C 0.168 H 1.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB4A78
RGBrgb(203, 74, 120)
HSLhsl(339, 55%, 54%)
HSVhsv(339, 64%, 80%)
CMYKcmyk(0%, 63.5%, 40.9%, 20.4%)
CIE-LABlab(50.63, 54.99, 1.54)
CIE-LCHlch(50.63, 55.01, 1.60°)
OKLaboklab(59.63% 0.168 0.0046)
OKLCHoklch(59.63% 0.168 1.6)
XYZxyz(30.4696, 18.9537, 19.8195)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A78 #4ACB9D
analogous
#CB4AB8 #CB4A78 #CB5D4A
triadic
#CB4A78 #78CB4A #4A78CB
tetradic
#CB4A78 #B8CB4A #4ACB9D #5D4ACB
square
#CB4A78 #B8CB4A #4ACB9D #5D4ACB
split-complementary
#CB4A78 #4ACB5D #4AB8CB
monochromatic
#782341 #A8305B #CB4A78 #D97A9B #E6A9BF

Accessibility & contrast

On white

4.38
#CB4A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB4A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A78
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A78#FFFFFF#000000##000000
##CB4A781.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#DB3C5C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4a78;
/* rgb */ color: rgb(203, 74, 120);
/* oklch */ color: oklch(59.6% 0.168 1.6);
Tailwind
colors: {
  custom: {
    50: '#df849e',
    500: '#cb4a78',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a78;
$custom-light: #df849e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a78",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 338.605,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.16808,
    "h": 1.6
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#CB4A78
secondary
#9DD4C0
accent
#DFA949
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4A78

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

Preview Lab → · Contrast checker → · Palette generator →

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