#CB4978#CB4978

#CB4978 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.169 H 1.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CB4978
RGBrgb(203, 73, 120)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 64%, 40.9%, 20.4%)
CIE-LABlab(50.48, 55.41, 1.31)
CIE-LCHlch(50.48, 55.43, 1.36°)
OKLaboklab(59.51% 0.1694 0.0041)
OKLCHoklch(59.51% 0.169 1.4)
XYZxyz(30.4033, 18.8212, 19.7974)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4978 #49CB9C
analogous
#CB49B9 #CB4978 #CB5B49
triadic
#CB4978 #78CB49 #4978CB
tetradic
#CB4978 #B9CB49 #49CB9C #5B49CB
square
#CB4978 #B9CB49 #49CB9C #5B49CB
split-complementary
#CB4978 #49CB5B #49B9CB
monochromatic
#772241 #A7305B #CB4978 #D9799B #E6A8BF

Accessibility & contrast

On white

4.41
#CB4978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CB4978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4978
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4978#FFFFFF#000000##000000
##CB49781.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626879
Deuteranopia (green-blind)
#858175
Tritanopia (blue-blind)
#DB3A5C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4978;
/* rgb */ color: rgb(203, 73, 120);
/* oklch */ color: oklch(59.5% 0.169 1.4);
Tailwind
colors: {
  custom: {
    50: '#df839e',
    500: '#cb4978',
    950: '#000000',
  },
}
SCSS
$custom: #cb4978;
$custom-light: #df839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4978",
  "rgb": {
    "r": 203,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 338.308,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59511,
    "c": 0.16941,
    "h": 1.4
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#CB4978
secondary
#9CD4C0
accent
#DFA949
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4978

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

Preview Lab → · Contrast checker → · Palette generator →

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