#C0417F#C0417F

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

Color values

HEX#C0417F
RGBrgb(192, 65, 127)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 66%, 75%)
CMYKcmyk(0%, 66.1%, 33.9%, 24.7%)
CIE-LABlab(47.65, 56.18, -7.29)
CIE-LCHlch(47.65, 56.65, 352.61°)
OKLaboklab(57.14% 0.1716 -0.0186)
OKLCHoklch(57.14% 0.173 353.8)
XYZxyz(27.4608, 16.5224, 21.8176)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0417F #41C082
analogous
#C041BE #C0417F #C04241
triadic
#C0417F #7FC041 #417FC0
tetradic
#C0417F #BEC041 #41C082 #4241C0
square
#C0417F #BEC041 #41C082 #4241C0
split-complementary
#C0417F #41C042 #41BEC0
monochromatic
#652243 #933161 #C0417F #CF6F9E #DE9DBD

Accessibility & contrast

On white

4.88
#C0417F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0417F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0417F#FFFFFF#000000##FFFFFF
##C0417F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566281
Deuteranopia (green-blind)
#797A7C
Tritanopia (blue-blind)
#CE385B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0417f;
/* rgb */ color: rgb(192, 65, 127);
/* oklch */ color: oklch(57.1% 0.173 353.8);
Tailwind
colors: {
  custom: {
    50: '#d77ea4',
    500: '#c0417f',
    950: '#000000',
  },
}
SCSS
$custom: #c0417f;
$custom-light: #d77ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#c0417f",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 330.709,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.17261,
    "h": 353.8
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#C0417F
secondary
#92CBAF
accent
#DA964E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0417F

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

Preview Lab → · Contrast checker → · Palette generator →

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