#C0417C#C0417C

#C0417C is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.171 H 355.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C0417C
RGBrgb(192, 65, 124)
HSLhsl(332, 50%, 50%)
HSVhsv(332, 66%, 75%)
CMYKcmyk(0%, 66.1%, 35.4%, 24.7%)
CIE-LABlab(47.55, 55.83, -5.62)
CIE-LCHlch(47.55, 56.11, 354.26°)
OKLaboklab(57.04% 0.1707 -0.0141)
OKLCHoklch(57.04% 0.171 355.3)
XYZxyz(27.2682, 16.4454, 20.8031)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0417C #41C085
analogous
#C041BC #C0417C #C04541
triadic
#C0417C #7CC041 #417CC0
tetradic
#C0417C #BCC041 #41C085 #4541C0
square
#C0417C #BCC041 #41C085 #4541C0
split-complementary
#C0417C #41C045 #41BCC0
monochromatic
#652241 #93315E #C0417C #CF6F9C #DE9DBB

Accessibility & contrast

On white

4.90
#C0417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0417C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0417C#FFFFFF#000000##FFFFFF
##C0417C1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#7A7979
Tritanopia (blue-blind)
#CF3759
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0417c;
/* rgb */ color: rgb(192, 65, 124);
/* oklch */ color: oklch(57.0% 0.171 355.3);
Tailwind
colors: {
  custom: {
    50: '#d77ea1',
    500: '#c0417c',
    950: '#000000',
  },
}
SCSS
$custom: #c0417c;
$custom-light: #d77ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0417c",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 332.126,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.17129,
    "h": 355.3
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0417C

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

Preview Lab → · Contrast checker → · Palette generator →

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