#C0417D#C0417D

#C0417D is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.1% C 0.172 H 354.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C0417D
RGBrgb(192, 65, 125)
HSLhsl(332, 50%, 50%)
HSVhsv(332, 66%, 75%)
CMYKcmyk(0%, 66.1%, 34.9%, 24.7%)
CIE-LABlab(47.59, 55.95, -6.17)
CIE-LCHlch(47.59, 56.29, 353.70°)
OKLaboklab(57.07% 0.171 -0.0156)
OKLCHoklch(57.07% 0.172 354.8)
XYZxyz(27.3318, 16.4708, 21.1379)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0417D #41C084
analogous
#C041BC #C0417D #C04441
triadic
#C0417D #7DC041 #417DC0
tetradic
#C0417D #BCC041 #41C084 #4441C0
square
#C0417D #BCC041 #41C084 #4441C0
split-complementary
#C0417D #41C044 #41BCC0
monochromatic
#652241 #93315F #C0417D #CF6F9C #DE9DBC

Accessibility & contrast

On white

4.89
#C0417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C0417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0417D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0417D#FFFFFF#000000##FFFFFF
##C0417D1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56627F
Deuteranopia (green-blind)
#797A7A
Tritanopia (blue-blind)
#CF375A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0417d;
/* rgb */ color: rgb(192, 65, 125);
/* oklch */ color: oklch(57.1% 0.172 354.8);
Tailwind
colors: {
  custom: {
    50: '#d77ea2',
    500: '#c0417d',
    950: '#000000',
  },
}
SCSS
$custom: #c0417d;
$custom-light: #d77ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#c0417d",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 331.654,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.17172,
    "h": 354.8
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#C0417D
secondary
#92CBB0
accent
#DA984E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #C0417D

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

Preview Lab → · Contrast checker → · Palette generator →

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