#C0417E#C0417E

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

Color values

HEX#C0417E
RGBrgb(192, 65, 126)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 66%, 75%)
CMYKcmyk(0%, 66.1%, 34.4%, 24.7%)
CIE-LABlab(47.62, 56.06, -6.73)
CIE-LCHlch(47.62, 56.46, 353.15°)
OKLaboklab(57.11% 0.1713 -0.0171)
OKLCHoklch(57.11% 0.172 354.3)
XYZxyz(27.3960, 16.4965, 21.4760)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0417E #41C083
analogous
#C041BE #C0417E #C04341
triadic
#C0417E #7EC041 #417EC0
tetradic
#C0417E #BEC041 #41C083 #4341C0
square
#C0417E #BEC041 #41C083 #4341C0
split-complementary
#C0417E #41C043 #41BEC0
monochromatic
#652242 #933160 #C0417E #CF6F9D #DE9DBC

Accessibility & contrast

On white

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

On black

4.30
#C0417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C0417E#FFFFFF#000000##FFFFFF
##C0417E1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#797A7B
Tritanopia (blue-blind)
#CE375A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0417e;
/* rgb */ color: rgb(192, 65, 126);
/* oklch */ color: oklch(57.1% 0.172 354.3);
Tailwind
colors: {
  custom: {
    50: '#d77ea3',
    500: '#c0417e',
    950: '#000000',
  },
}
SCSS
$custom: #c0417e;
$custom-light: #d77ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#c0417e",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 331.181,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.17217,
    "h": 354.3
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#C0417E
secondary
#92CBB0
accent
#DA974E
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0417E

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

Preview Lab → · Contrast checker → · Palette generator →

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