#C04170#C04170

#C04170 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.6% C 0.167 H 1.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C04170
RGBrgb(192, 65, 112)
HSLhsl(338, 50%, 50%)
HSVhsv(338, 66%, 75%)
CMYKcmyk(0%, 66.1%, 41.7%, 24.7%)
CIE-LABlab(47.18, 54.52, 1.14)
CIE-LCHlch(47.18, 54.54, 1.20°)
OKLaboklab(56.64% 0.1668 0.0036)
OKLCHoklch(56.64% 0.167 1.2)
XYZxyz(26.5550, 16.1601, 17.0469)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04170 #41C091
analogous
#C041B0 #C04170 #C05141
triadic
#C04170 #70C041 #4170C0
tetradic
#C04170 #B0C041 #41C091 #5141C0
square
#C04170 #B0C041 #41C091 #5141C0
split-complementary
#C04170 #41C051 #41B0C0
monochromatic
#65223B #933155 #C04170 #CF6F93 #DE9DB5

Accessibility & contrast

On white

4.96
#C04170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C04170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04170
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04170#FFFFFF#000000##FFFFFF
##C041701.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6071
Deuteranopia (green-blind)
#7C796D
Tritanopia (blue-blind)
#D03254
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04170;
/* rgb */ color: rgb(192, 65, 112);
/* oklch */ color: oklch(56.6% 0.167 1.2);
Tailwind
colors: {
  custom: {
    50: '#d87d98',
    500: '#c04170',
    950: '#000000',
  },
}
SCSS
$custom: #c04170;
$custom-light: #d87d98;
$custom-dark: #000000;
JSON
{
  "hex": "#c04170",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 337.795,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.16681,
    "h": 1.2
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#C04170
secondary
#92CBB6
accent
#DAA64E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #C04170

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

Preview Lab → · Contrast checker → · Palette generator →

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