#C04874#C04874

#C04874 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.6% C 0.159 H 0.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C04874
RGBrgb(192, 72, 116)
HSLhsl(338, 49%, 52%)
HSVhsv(338, 63%, 75%)
CMYKcmyk(0%, 62.5%, 39.6%, 24.7%)
CIE-LABlab(48.39, 51.98, 0.47)
CIE-LCHlch(48.39, 51.98, 0.52°)
OKLaboklab(57.58% 0.1588 0.0019)
OKLCHoklch(57.58% 0.159 0.7)
XYZxyz(27.2097, 17.1052, 18.3883)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04874 #48C094
analogous
#C048B0 #C04874 #C05848
triadic
#C04874 #74C048 #4874C0
tetradic
#C04874 #B0C048 #48C094 #5848C0
square
#C04874 #B0C048 #48C094 #5848C0
split-complementary
#C04874 #48C058 #48B0C0
monochromatic
#69243E #973458 #C04874 #D07697 #DFA3B9

Accessibility & contrast

On white

4.75
#C04874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C04874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04874
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04874#FFFFFF#000000##FFFFFF
##C048741.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#CF3C59
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04874;
/* rgb */ color: rgb(192, 72, 116);
/* oklch */ color: oklch(57.6% 0.159 0.7);
Tailwind
colors: {
  custom: {
    50: '#d7819b',
    500: '#c04874',
    950: '#000000',
  },
}
SCSS
$custom: #c04874;
$custom-light: #d7819b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04874",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 338,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.15879,
    "h": 0.7
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#C04874
secondary
#98CCB9
accent
#D8A64F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04874

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

Preview Lab → · Contrast checker → · Palette generator →

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