#C7407C#C7407C

#C7407C is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.179 H 356.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C7407C
RGBrgb(199, 64, 124)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 68%, 78%)
CMYKcmyk(0%, 67.8%, 37.7%, 22%)
CIE-LABlab(48.60, 58.28, -3.94)
CIE-LCHlch(48.60, 58.41, 356.13°)
OKLaboklab(58.03% 0.1785 -0.0096)
OKLCHoklch(58.03% 0.179 356.9)
XYZxyz(29.0265, 17.2676, 20.8693)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7407C #40C78B
analogous
#C740C0 #C7407C #C74840
triadic
#C7407C #7CC740 #407CC7
tetradic
#C7407C #C0C740 #40C78B #4840C7
square
#C7407C #C0C740 #40C78B #4840C7
split-complementary
#C7407C #40C748 #40C0C7
monochromatic
#6D2042 #9C2E5F #C7407C #D56F9C #E39FBD

Accessibility & contrast

On white

4.72
#C7407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C7407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7407C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7407C#FFFFFF#000000##FFFFFF
##C7407C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#D73359
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c7407c;
/* rgb */ color: rgb(199, 64, 124);
/* oklch */ color: oklch(58.0% 0.179 356.9);
Tailwind
colors: {
  custom: {
    50: '#dd7ea1',
    500: '#c7407c',
    950: '#000000',
  },
}
SCSS
$custom: #c7407c;
$custom-light: #dd7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7407c",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 333.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.17873,
    "h": 356.9
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#C7407C
secondary
#94CFB5
accent
#DE9C4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C7407C

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

Preview Lab → · Contrast checker → · Palette generator →

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