#C7407B#C7407B

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

Color values

HEX#C7407B
RGBrgb(199, 64, 123)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 67.8%, 38.2%, 22%)
CIE-LABlab(48.56, 58.17, -3.38)
CIE-LCHlch(48.56, 58.27, 356.67°)
OKLaboklab(58% 0.1782 -0.0081)
OKLCHoklch(58% 0.178 357.4)
XYZxyz(28.9636, 17.2424, 20.5379)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7407B #40C78C
analogous
#C740BF #C7407B #C74940
triadic
#C7407B #7BC740 #407BC7
tetradic
#C7407B #BFC740 #40C78C #4940C7
square
#C7407B #BFC740 #40C78C #4940C7
split-complementary
#C7407B #40C749 #40BFC7
monochromatic
#6D2041 #9C2E5E #C7407B #D56F9C #E39FBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7407B#FFFFFF#000000##FFFFFF
##C7407B1.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)
#59637D
Deuteranopia (green-blind)
#7E7D78
Tritanopia (blue-blind)
#D73258
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c7407b;
/* rgb */ color: rgb(199, 64, 123);
/* oklch */ color: oklch(58.0% 0.178 357.4);
Tailwind
colors: {
  custom: {
    50: '#dd7ea1',
    500: '#c7407b',
    950: '#000000',
  },
}
SCSS
$custom: #c7407b;
$custom-light: #dd7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7407b",
  "rgb": {
    "r": 199,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 333.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57996,
    "c": 0.17834,
    "h": 357.4
  },
  "luminance": 0.17239
}

Semantic roles & 50–950 ramp

primary
#C7407B
secondary
#94CFB5
accent
#DE9D4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C7407B

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

Preview Lab → · Contrast checker → · Palette generator →

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