#CB4979#CB4979

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

Color values

HEX#CB4979
RGBrgb(203, 73, 121)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 64%, 40.4%, 20.4%)
CIE-LABlab(50.51, 55.52, 0.75)
CIE-LCHlch(50.51, 55.52, 0.78°)
OKLaboklab(59.54% 0.1697 0.0026)
OKLCHoklch(59.54% 0.17 0.9)
XYZxyz(30.4643, 18.8456, 20.1187)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4979 #49CB9B
analogous
#CB49BA #CB4979 #CB5A49
triadic
#CB4979 #79CB49 #4979CB
tetradic
#CB4979 #BACB49 #49CB9B #5A49CB
square
#CB4979 #BACB49 #49CB9B #5A49CB
split-complementary
#CB4979 #49CB5A #49BACB
monochromatic
#772242 #A7305C #CB4979 #D9799C #E6A8BF

Accessibility & contrast

On white

4.40
#CB4979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CB4979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4979
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4979#FFFFFF#000000##000000
##CB49791.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#62687A
Deuteranopia (green-blind)
#858176
Tritanopia (blue-blind)
#DB3B5C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4979;
/* rgb */ color: rgb(203, 73, 121);
/* oklch */ color: oklch(59.5% 0.170 0.9);
Tailwind
colors: {
  custom: {
    50: '#df839f',
    500: '#cb4979',
    950: '#000000',
  },
}
SCSS
$custom: #cb4979;
$custom-light: #df839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4979",
  "rgb": {
    "r": 203,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 337.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59542,
    "c": 0.16972,
    "h": 0.9
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#CB4979
secondary
#9CD4BF
accent
#DFA849
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4979

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

Preview Lab → · Contrast checker → · Palette generator →

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