#C0407F#C0407F

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

Color values

HEX#C0407F
RGBrgb(192, 64, 127)
HSLhsl(330, 50%, 50%)
HSVhsv(330, 67%, 75%)
CMYKcmyk(0%, 66.7%, 33.9%, 24.7%)
CIE-LABlab(47.51, 56.58, -7.51)
CIE-LCHlch(47.51, 57.08, 352.44°)
OKLaboklab(57.03% 0.1729 -0.0191)
OKLCHoklch(57.03% 0.174 353.7)
XYZxyz(27.4039, 16.4086, 21.7986)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0407F #40C081
analogous
#C040BF #C0407F #C04140
triadic
#C0407F #7FC040 #407FC0
tetradic
#C0407F #BFC040 #40C081 #4140C0
square
#C0407F #BFC040 #40C081 #4140C0
split-complementary
#C0407F #40C041 #40BFC0
monochromatic
#642142 #923061 #C0407F #CF6E9E #DE9CBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0407F#FFFFFF#000000##FFFFFF
##C0407F1.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)
#556281
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#CE375A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0407f;
/* rgb */ color: rgb(192, 64, 127);
/* oklch */ color: oklch(57.0% 0.174 353.7);
Tailwind
colors: {
  custom: {
    50: '#d77da4',
    500: '#c0407f',
    950: '#000000',
  },
}
SCSS
$custom: #c0407f;
$custom-light: #d77da4;
$custom-dark: #000000;
JSON
{
  "hex": "#c0407f",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 330.469,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.17394,
    "h": 353.7
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#C0407F
secondary
#91CBAE
accent
#DA954E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0407F

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

Preview Lab → · Contrast checker → · Palette generator →

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