#C7407D#C7407D

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

Color values

HEX#C7407D
RGBrgb(199, 64, 125)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 68%, 78%)
CMYKcmyk(0%, 67.8%, 37.2%, 22%)
CIE-LABlab(48.63, 58.39, -4.50)
CIE-LCHlch(48.63, 58.56, 355.59°)
OKLaboklab(58.06% 0.1788 -0.0111)
OKLCHoklch(58.06% 0.179 356.4)
XYZxyz(29.0901, 17.2930, 21.2040)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7407D #40C78A
analogous
#C740C1 #C7407D #C74740
triadic
#C7407D #7DC740 #407DC7
tetradic
#C7407D #C1C740 #40C78A #4740C7
square
#C7407D #C1C740 #40C78A #4740C7
split-complementary
#C7407D #40C747 #40C1C7
monochromatic
#6D2043 #9C2E60 #C7407D #D56F9D #E39FBD

Accessibility & contrast

On white

4.71
#C7407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C7407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7407D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7407D#FFFFFF#000000##FFFFFF
##C7407D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7407d;
/* rgb */ color: rgb(199, 64, 125);
/* oklch */ color: oklch(58.1% 0.179 356.4);
Tailwind
colors: {
  custom: {
    50: '#dd7ea2',
    500: '#c7407d',
    950: '#000000',
  },
}
SCSS
$custom: #c7407d;
$custom-light: #dd7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7407d",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 332.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.17912,
    "h": 356.4
  },
  "luminance": 0.1729
}

Semantic roles & 50–950 ramp

primary
#C7407D
secondary
#94CFB4
accent
#DE9B4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C7407D

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

Preview Lab → · Contrast checker → · Palette generator →

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