#C0407E#C0407E

#C0407E is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.173 H 354.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C0407E
RGBrgb(192, 64, 126)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 67%, 75%)
CMYKcmyk(0%, 66.7%, 34.4%, 24.7%)
CIE-LABlab(47.47, 56.47, -6.95)
CIE-LCHlch(47.47, 56.89, 352.98°)
OKLaboklab(57% 0.1726 -0.0176)
OKLCHoklch(57% 0.173 354.2)
XYZxyz(27.3391, 16.3827, 21.4571)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0407E #40C082
analogous
#C040BE #C0407E #C04240
triadic
#C0407E #7EC040 #407EC0
tetradic
#C0407E #BEC040 #40C082 #4240C0
square
#C0407E #BEC040 #40C082 #4240C0
split-complementary
#C0407E #40C042 #40BEC0
monochromatic
#642142 #923060 #C0407E #CF6E9D #DE9CBC

Accessibility & contrast

On white

4.91
#C0407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C0407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0407E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0407E#FFFFFF#000000##FFFFFF
##C0407E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556280
Deuteranopia (green-blind)
#79797B
Tritanopia (blue-blind)
#CE365A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0407e;
/* rgb */ color: rgb(192, 64, 126);
/* oklch */ color: oklch(57.0% 0.173 354.2);
Tailwind
colors: {
  custom: {
    50: '#d77da3',
    500: '#c0407e',
    950: '#000000',
  },
}
SCSS
$custom: #c0407e;
$custom-light: #d77da3;
$custom-dark: #000000;
JSON
{
  "hex": "#c0407e",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 330.938,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.17348,
    "h": 354.2
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#C0407E
secondary
#91CBAF
accent
#DA964E
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0407E

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

Preview Lab → · Contrast checker → · Palette generator →

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