#C04062#C04062

#C04062 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.165 H 8.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C04062
RGBrgb(192, 64, 98)
HSLhsl(344, 50%, 50%)
HSVhsv(344, 67%, 75%)
CMYKcmyk(0%, 66.7%, 49%, 24.7%)
CIE-LABlab(46.66, 53.58, 8.95)
CIE-LCHlch(46.66, 54.32, 9.48°)
OKLaboklab(56.13% 0.163 0.0232)
OKLCHoklch(56.13% 0.165 8.1)
XYZxyz(25.7783, 15.7584, 13.2371)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04062 #40C09E
analogous
#C040A2 #C04062 #C05E40
triadic
#C04062 #62C040 #4062C0
tetradic
#C04062 #A2C040 #40C09E #5E40C0
square
#C04062 #A2C040 #40C09E #5E40C0
split-complementary
#C04062 #40C05E #40A2C0
monochromatic
#642133 #92304A #C04062 #CF6E88 #DE9CAE

Accessibility & contrast

On white

5.06
#C04062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C04062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04062
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04062#FFFFFF#000000##FFFFFF
##C040621.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5E63
Deuteranopia (green-blind)
#7E785F
Tritanopia (blue-blind)
#D12B4D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04062;
/* rgb */ color: rgb(192, 64, 98);
/* oklch */ color: oklch(56.1% 0.165 8.1);
Tailwind
colors: {
  custom: {
    50: '#d87d8e',
    500: '#c04062',
    950: '#000000',
  },
}
SCSS
$custom: #c04062;
$custom-light: #d87d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04062",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 344.063,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.16463,
    "h": 8.1
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#C04062
secondary
#91CBBB
accent
#DAB54E
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C04062

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

Preview Lab → · Contrast checker → · Palette generator →

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