#C0407D#C0407D

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

Color values

HEX#C0407D
RGBrgb(192, 64, 125)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 67%, 75%)
CMYKcmyk(0%, 66.7%, 34.9%, 24.7%)
CIE-LABlab(47.44, 56.35, -6.39)
CIE-LCHlch(47.44, 56.71, 353.53°)
OKLaboklab(56.96% 0.1723 -0.0162)
OKLCHoklch(56.96% 0.173 354.6)
XYZxyz(27.2749, 16.3570, 21.1189)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0407D #40C083
analogous
#C040BD #C0407D #C04340
triadic
#C0407D #7DC040 #407DC0
tetradic
#C0407D #BDC040 #40C083 #4340C0
square
#C0407D #BDC040 #40C083 #4340C0
split-complementary
#C0407D #40C043 #40BDC0
monochromatic
#642141 #92305F #C0407D #CF6E9C #DE9CBC

Accessibility & contrast

On white

4.92
#C0407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C0407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0407D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0407D#FFFFFF#000000##FFFFFF
##C0407D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56627F
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#CF3659
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c0407d;
/* rgb */ color: rgb(192, 64, 125);
/* oklch */ color: oklch(57.0% 0.173 354.6);
Tailwind
colors: {
  custom: {
    50: '#d77da2',
    500: '#c0407d',
    950: '#000000',
  },
}
SCSS
$custom: #c0407d;
$custom-light: #d77da2;
$custom-dark: #000000;
JSON
{
  "hex": "#c0407d",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 331.406,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.17304,
    "h": 354.6
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#C0407D
secondary
#91CBAF
accent
#DA974E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #C0407D

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

Preview Lab → · Contrast checker → · Palette generator →

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