#C7407E#C7407E

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

Color values

HEX#C7407E
RGBrgb(199, 64, 126)
HSLhsl(332, 55%, 52%)
HSVhsv(332, 68%, 78%)
CMYKcmyk(0%, 67.8%, 36.7%, 22%)
CIE-LABlab(48.66, 58.50, -5.06)
CIE-LCHlch(48.66, 58.72, 355.06°)
OKLaboklab(58.1% 0.1791 -0.0126)
OKLCHoklch(58.1% 0.18 356)
XYZxyz(29.1543, 17.3187, 21.5421)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7407E #40C789
analogous
#C740C2 #C7407E #C74640
triadic
#C7407E #7EC740 #407EC7
tetradic
#C7407E #C2C740 #40C789 #4640C7
square
#C7407E #C2C740 #40C789 #4640C7
split-complementary
#C7407E #40C746 #40C2C7
monochromatic
#6D2043 #9C2E60 #C7407E #D56F9E #E39FBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7407E#FFFFFF#000000##FFFFFF
##C7407E1.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)
#586480
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#D6345A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c7407e;
/* rgb */ color: rgb(199, 64, 126);
/* oklch */ color: oklch(58.1% 0.180 356.0);
Tailwind
colors: {
  custom: {
    50: '#dd7ea3',
    500: '#c7407e',
    950: '#000000',
  },
}
SCSS
$custom: #c7407e;
$custom-light: #dd7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7407e",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 332.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.17953,
    "h": 356
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#C7407E
secondary
#94CFB4
accent
#DE9A4A
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C7407E

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

Preview Lab → · Contrast checker → · Palette generator →

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