#C7407A#C7407A

#C7407A is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.0% C 0.178 H 357.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C7407A
RGBrgb(199, 64, 122)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 67.8%, 38.7%, 22%)
CIE-LABlab(48.53, 58.07, -2.82)
CIE-LCHlch(48.53, 58.13, 357.22°)
OKLaboklab(57.96% 0.1778 -0.0067)
OKLCHoklch(57.96% 0.178 357.8)
XYZxyz(28.9013, 17.2175, 20.2099)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7407A #40C78D
analogous
#C740BE #C7407A #C74A40
triadic
#C7407A #7AC740 #407AC7
tetradic
#C7407A #BEC740 #40C78D #4A40C7
square
#C7407A #BEC740 #40C78D #4A40C7
split-complementary
#C7407A #40C74A #40BEC7
monochromatic
#6D2041 #9C2E5D #C7407A #D56F9B #E39FBC

Accessibility & contrast

On white

4.73
#C7407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C7407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7407A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7407A#FFFFFF#000000##FFFFFF
##C7407A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637C
Deuteranopia (green-blind)
#7E7D77
Tritanopia (blue-blind)
#D73258
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c7407a;
/* rgb */ color: rgb(199, 64, 122);
/* oklch */ color: oklch(58.0% 0.178 357.8);
Tailwind
colors: {
  custom: {
    50: '#dd7ea0',
    500: '#c7407a',
    950: '#000000',
  },
}
SCSS
$custom: #c7407a;
$custom-light: #dd7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7407a",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 334.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.17796,
    "h": 357.8
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#C7407A
secondary
#94CFB6
accent
#DE9E4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C7407A

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

Preview Lab → · Contrast checker → · Palette generator →

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