#C04162#C04162

#C04162 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.163 H 8.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C04162
RGBrgb(192, 65, 98)
HSLhsl(344, 50%, 50%)
HSVhsv(344, 66%, 75%)
CMYKcmyk(0%, 66.1%, 49%, 24.7%)
CIE-LABlab(46.81, 53.17, 9.16)
CIE-LCHlch(46.81, 53.95, 9.78°)
OKLaboklab(56.24% 0.1617 0.0237)
OKLCHoklch(56.24% 0.163 8.4)
XYZxyz(25.8352, 15.8722, 13.2561)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04162 #41C09F
analogous
#C041A2 #C04162 #C05F41
triadic
#C04162 #62C041 #4162C0
tetradic
#C04162 #A2C041 #41C09F #5F41C0
square
#C04162 #A2C041 #41C09F #5F41C0
split-complementary
#C04162 #41C05F #41A2C0
monochromatic
#652233 #93314A #C04162 #CF6F88 #DE9DAE

Accessibility & contrast

On white

5.03
#C04162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C04162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04162
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04162#FFFFFF#000000##FFFFFF
##C041621.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5F63
Deuteranopia (green-blind)
#7F785F
Tritanopia (blue-blind)
#D12D4E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04162;
/* rgb */ color: rgb(192, 65, 98);
/* oklch */ color: oklch(56.2% 0.163 8.4);
Tailwind
colors: {
  custom: {
    50: '#d87d8e',
    500: '#c04162',
    950: '#000000',
  },
}
SCSS
$custom: #c04162;
$custom-light: #d87d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04162",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 344.409,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.16341,
    "h": 8.4
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#C04162
secondary
#92CBBC
accent
#DAB54E
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C04162

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

Preview Lab → · Contrast checker → · Palette generator →

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