#C84878#C84878

#C84878 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.9% C 0.168 H 0.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C84878
RGBrgb(200, 72, 120)
HSLhsl(338, 54%, 53%)
HSVhsv(338, 64%, 78%)
CMYKcmyk(0%, 64%, 40%, 21.6%)
CIE-LABlab(49.83, 54.91, 0.30)
CIE-LCHlch(49.83, 54.91, 0.32°)
OKLaboklab(58.93% 0.1679 0.0014)
OKLCHoklch(58.93% 0.168 0.5)
XYZxyz(29.5289, 18.2736, 19.7378)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C84878 #48C898
analogous
#C848B8 #C84878 #C85848
triadic
#C84878 #78C848 #4878C8
tetradic
#C84878 #B8C848 #48C898 #5848C8
square
#C84878 #B8C848 #48C898 #5848C8
split-complementary
#C84878 #48C858 #48B8C8
monochromatic
#732341 #A2315B #C84878 #D6779B #E4A6BD

Accessibility & contrast

On white

4.51
#C84878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C84878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C84878
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C84878#FFFFFF#000000##000000
##C848781.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#838075
Tritanopia (blue-blind)
#D83A5B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c84878;
/* rgb */ color: rgb(200, 72, 120);
/* oklch */ color: oklch(58.9% 0.168 0.5);
Tailwind
colors: {
  custom: {
    50: '#dd829e',
    500: '#c84878',
    950: '#000000',
  },
}
SCSS
$custom: #c84878;
$custom-light: #dd829e;
$custom-dark: #000000;
JSON
{
  "hex": "#c84878",
  "rgb": {
    "r": 200,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 337.5,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58933,
    "c": 0.16786,
    "h": 0.5
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#C84878
secondary
#9AD1BD
accent
#DDA64B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C84878

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

Preview Lab → · Contrast checker → · Palette generator →

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