#C04870#C04870

#C04870 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.5% C 0.158 H 2.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C04870
RGBrgb(192, 72, 112)
HSLhsl(340, 49%, 52%)
HSVhsv(340, 63%, 75%)
CMYKcmyk(0%, 62.5%, 41.7%, 24.7%)
CIE-LABlab(48.28, 51.55, 2.73)
CIE-LCHlch(48.28, 51.62, 3.03°)
OKLaboklab(57.45% 0.1574 0.0077)
OKLCHoklch(57.45% 0.158 2.8)
XYZxyz(26.9820, 17.0142, 17.1892)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04870 #48C098
analogous
#C048AC #C04870 #C05C48
triadic
#C04870 #70C048 #4870C0
tetradic
#C04870 #ACC048 #48C098 #5C48C0
square
#C04870 #ACC048 #48C098 #5C48C0
split-complementary
#C04870 #48C05C #48ACC0
monochromatic
#69243B #973455 #C04870 #D07694 #DFA3B7

Accessibility & contrast

On white

4.77
#C04870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C04870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04870
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04870#FFFFFF#000000##FFFFFF
##C048701.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6471
Deuteranopia (green-blind)
#7F7B6D
Tritanopia (blue-blind)
#D03A58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04870;
/* rgb */ color: rgb(192, 72, 112);
/* oklch */ color: oklch(57.5% 0.158 2.8);
Tailwind
colors: {
  custom: {
    50: '#d78198',
    500: '#c04870',
    950: '#000000',
  },
}
SCSS
$custom: #c04870;
$custom-light: #d78198;
$custom-dark: #000000;
JSON
{
  "hex": "#c04870",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 340,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57453,
    "c": 0.15757,
    "h": 2.8
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#C04870
secondary
#98CCBB
accent
#D8AB4F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E

Preview Lab

Preview with #C04870

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

Preview Lab → · Contrast checker → · Palette generator →

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