#CB4878#CB4878

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

Color values

HEX#CB4878
RGBrgb(203, 72, 120)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.5%, 40.9%, 20.4%)
CIE-LABlab(50.32, 55.83, 1.09)
CIE-LCHlch(50.32, 55.84, 1.12°)
OKLaboklab(59.4% 0.1707 0.0035)
OKLCHoklch(59.4% 0.171 1.2)
XYZxyz(30.3382, 18.6909, 19.7757)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4878 #48CB9B
analogous
#CB48BA #CB4878 #CB5A48
triadic
#CB4878 #78CB48 #4878CB
tetradic
#CB4878 #BACB48 #48CB9B #5A48CB
square
#CB4878 #BACB48 #48CB9B #5A48CB
split-complementary
#CB4878 #48CB5A #48BACB
monochromatic
#772241 #A62F5B #CB4878 #D9789B #E6A7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4878#FFFFFF#000000##000000
##CB48781.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)
#616879
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#DB395B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4878;
/* rgb */ color: rgb(203, 72, 120);
/* oklch */ color: oklch(59.4% 0.171 1.2);
Tailwind
colors: {
  custom: {
    50: '#df829e',
    500: '#cb4878',
    950: '#000000',
  },
}
SCSS
$custom: #cb4878;
$custom-light: #df829e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4878",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 338.015,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.17072,
    "h": 1.2
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#CB4878
secondary
#9BD3BF
accent
#DFA849
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4878

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

Preview Lab → · Contrast checker → · Palette generator →

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