#C04066#C04066

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

Color values

HEX#C04066
RGBrgb(192, 64, 102)
HSLhsl(342, 50%, 50%)
HSVhsv(342, 67%, 75%)
CMYKcmyk(0%, 66.7%, 46.9%, 24.7%)
CIE-LABlab(46.76, 53.95, 6.65)
CIE-LCHlch(46.76, 54.36, 7.02°)
OKLaboklab(56.23% 0.1645 0.0175)
OKLCHoklch(56.23% 0.165 6.1)
XYZxyz(25.9719, 15.8358, 14.2567)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04066 #40C09A
analogous
#C040A6 #C04066 #C05A40
triadic
#C04066 #66C040 #4066C0
tetradic
#C04066 #A6C040 #40C09A #5A40C0
square
#C04066 #A6C040 #40C09A #5A40C0
split-complementary
#C04066 #40C05A #40A6C0
monochromatic
#642135 #92304D #C04066 #CF6E8B #DE9CB0

Accessibility & contrast

On white

5.04
#C04066 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04066
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04066#FFFFFF#000000##FFFFFF
##C040661.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5F67
Deuteranopia (green-blind)
#7E7863
Tritanopia (blue-blind)
#D02D4F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04066;
/* rgb */ color: rgb(192, 64, 102);
/* oklch */ color: oklch(56.2% 0.165 6.1);
Tailwind
colors: {
  custom: {
    50: '#d87d91',
    500: '#c04066',
    950: '#000000',
  },
}
SCSS
$custom: #c04066;
$custom-light: #d87d91;
$custom-dark: #000000;
JSON
{
  "hex": "#c04066",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 102
  },
  "hsl": {
    "h": 342.188,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.16542,
    "h": 6.1
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#C04066
secondary
#91CBBA
accent
#DAB04E
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #C04066

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

Preview Lab → · Contrast checker → · Palette generator →

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