#CB4879#CB4879

#CB4879 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.171 H 0.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB4879
RGBrgb(203, 72, 121)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.5%, 40.4%, 20.4%)
CIE-LABlab(50.35, 55.93, 0.53)
CIE-LCHlch(50.35, 55.94, 0.54°)
OKLaboklab(59.43% 0.171 0.002)
OKLCHoklch(59.43% 0.171 0.7)
XYZxyz(30.3992, 18.7153, 20.0970)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4879 #48CB9A
analogous
#CB48BB #CB4879 #CB5948
triadic
#CB4879 #79CB48 #4879CB
tetradic
#CB4879 #BBCB48 #48CB9A #5948CB
square
#CB4879 #BBCB48 #48CB9A #5948CB
split-complementary
#CB4879 #48CB59 #48BBCB
monochromatic
#772242 #A62F5C #CB4879 #D9789C #E6A7BF

Accessibility & contrast

On white

4.43
#CB4879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CB4879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4879
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4879#FFFFFF#000000##000000
##CB48791.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687A
Deuteranopia (green-blind)
#848176
Tritanopia (blue-blind)
#DB3A5B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4879;
/* rgb */ color: rgb(203, 72, 121);
/* oklch */ color: oklch(59.4% 0.171 0.7);
Tailwind
colors: {
  custom: {
    50: '#df829f',
    500: '#cb4879',
    950: '#000000',
  },
}
SCSS
$custom: #cb4879;
$custom-light: #df829f;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4879",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 337.557,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.17103,
    "h": 0.7
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#CB4879
secondary
#9BD3BE
accent
#DFA749
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4879

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

Preview Lab → · Contrast checker → · Palette generator →

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