#C7417D#C7417D

#C7417D is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.178 H 356.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C7417D
RGBrgb(199, 65, 125)
HSLhsl(333, 54%, 52%)
HSVhsv(333, 67%, 78%)
CMYKcmyk(0%, 67.3%, 37.2%, 22%)
CIE-LABlab(48.77, 58.00, -4.29)
CIE-LCHlch(48.77, 58.16, 355.77°)
OKLaboklab(58.17% 0.1776 -0.0105)
OKLCHoklch(58.17% 0.178 356.6)
XYZxyz(29.1470, 17.4068, 21.2230)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7417D #41C78B
analogous
#C741C0 #C7417D #C74841
triadic
#C7417D #7DC741 #417DC7
tetradic
#C7417D #C0C741 #41C78B #4841C7
square
#C7417D #C0C741 #41C78B #4841C7
split-complementary
#C7417D #41C748 #41C0C7
monochromatic
#6D2043 #9D2E60 #C7417D #D5709D #E3A0BE

Accessibility & contrast

On white

4.69
#C7417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C7417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7417D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7417D#FFFFFF#000000##FFFFFF
##C7417D1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647F
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#D7345A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c7417d;
/* rgb */ color: rgb(199, 65, 125);
/* oklch */ color: oklch(58.2% 0.178 356.6);
Tailwind
colors: {
  custom: {
    50: '#dd7fa2',
    500: '#c7417d',
    950: '#000000',
  },
}
SCSS
$custom: #c7417d;
$custom-light: #dd7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7417d",
  "rgb": {
    "r": 199,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 333.134,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.17786,
    "h": 356.6
  },
  "luminance": 0.17403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7417D

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

Preview Lab → · Contrast checker → · Palette generator →

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