#C0406E#C0406E

#C0406E is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.5% C 0.167 H 2.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C0406E
RGBrgb(192, 64, 110)
HSLhsl(338, 50%, 50%)
HSVhsv(338, 67%, 75%)
CMYKcmyk(0%, 66.7%, 42.7%, 24.7%)
CIE-LABlab(46.98, 54.73, 2.07)
CIE-LCHlch(46.98, 54.77, 2.16°)
OKLaboklab(56.47% 0.1674 0.006)
OKLCHoklch(56.47% 0.167 2)
XYZxyz(26.3880, 16.0023, 16.4480)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0406E #40C092
analogous
#C040AE #C0406E #C05240
triadic
#C0406E #6EC040 #406EC0
tetradic
#C0406E #AEC040 #40C092 #5240C0
square
#C0406E #AEC040 #40C092 #5240C0
split-complementary
#C0406E #40C052 #40AEC0
monochromatic
#642139 #923054 #C0406E #CF6E91 #DE9CB4

Accessibility & contrast

On white

5.00
#C0406E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C0406E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0406E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0406E#FFFFFF#000000##FFFFFF
##C0406E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A606F
Deuteranopia (green-blind)
#7C796B
Tritanopia (blue-blind)
#D03052
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c0406e;
/* rgb */ color: rgb(192, 64, 110);
/* oklch */ color: oklch(56.5% 0.167 2.0);
Tailwind
colors: {
  custom: {
    50: '#d87d97',
    500: '#c0406e',
    950: '#000000',
  },
}
SCSS
$custom: #c0406e;
$custom-light: #d87d97;
$custom-dark: #000000;
JSON
{
  "hex": "#c0406e",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 338.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.16748,
    "h": 2
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#C0406E
secondary
#91CBB6
accent
#DAA84E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #C0406E

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

Preview Lab → · Contrast checker → · Palette generator →

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