#C0407A#C0407A

#C0407A is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.172 H 356.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C0407A
RGBrgb(192, 64, 122)
HSLhsl(333, 50%, 50%)
HSVhsv(333, 67%, 75%)
CMYKcmyk(0%, 66.7%, 36.5%, 24.7%)
CIE-LABlab(47.34, 56.01, -4.72)
CIE-LCHlch(47.34, 56.21, 355.19°)
OKLaboklab(56.86% 0.1714 -0.0117)
OKLCHoklch(56.86% 0.172 356.1)
XYZxyz(27.0861, 16.2815, 20.1248)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0407A #40C086
analogous
#C040BA #C0407A #C04640
triadic
#C0407A #7AC040 #407AC0
tetradic
#C0407A #BAC040 #40C086 #4640C0
square
#C0407A #BAC040 #40C086 #4640C0
split-complementary
#C0407A #40C046 #40BAC0
monochromatic
#642140 #92305D #C0407A #CF6E9A #DE9CBA

Accessibility & contrast

On white

4.93
#C0407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C0407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0407A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0407A#FFFFFF#000000##FFFFFF
##C0407A1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#7A7977
Tritanopia (blue-blind)
#CF3558
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0407a;
/* rgb */ color: rgb(192, 64, 122);
/* oklch */ color: oklch(56.9% 0.172 356.1);
Tailwind
colors: {
  custom: {
    50: '#d77da0',
    500: '#c0407a',
    950: '#000000',
  },
}
SCSS
$custom: #c0407a;
$custom-light: #d77da0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0407a",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 332.813,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.17175,
    "h": 356.1
  },
  "luminance": 0.16278
}

Semantic roles & 50–950 ramp

primary
#C0407A
secondary
#91CBB1
accent
#DA9A4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C0407A

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

Preview Lab → · Contrast checker → · Palette generator →

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