#C0418E#C0418E

#C0418E is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.7% C 0.180 H 346.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C0418E
RGBrgb(192, 65, 142)
HSLhsl(324, 50%, 50%)
HSVhsv(324, 66%, 75%)
CMYKcmyk(0%, 66.1%, 26%, 24.7%)
CIE-LABlab(48.19, 58.04, -15.53)
CIE-LCHlch(48.19, 60.08, 345.02°)
OKLaboklab(57.71% 0.1757 -0.041)
OKLCHoklch(57.71% 0.18 346.9)
XYZxyz(28.5122, 16.9430, 27.3547)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0418E #41C073
analogous
#B341C0 #C0418E #C0414E
triadic
#C0418E #8EC041 #418EC0
tetradic
#C0418E #C0B341 #41C073 #414EC0
square
#C0418E #C0B341 #41C073 #414EC0
split-complementary
#C0418E #4EC041 #41C0B3
monochromatic
#65224A #93316C #C0418E #CF6FA9 #DE9DC5

Accessibility & contrast

On white

4.79
#C0418E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C0418E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0418E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0418E#FFFFFF#000000##FFFFFF
##C0418E1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506490
Deuteranopia (green-blind)
#757A8B
Tritanopia (blue-blind)
#CD3E62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0418e;
/* rgb */ color: rgb(192, 65, 142);
/* oklch */ color: oklch(57.7% 0.180 346.9);
Tailwind
colors: {
  custom: {
    50: '#d77eaf',
    500: '#c0418e',
    950: '#000000',
  },
}
SCSS
$custom: #c0418e;
$custom-light: #d77eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#c0418e",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 323.622,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.18039,
    "h": 346.9
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#C0418E
secondary
#92CBA8
accent
#DA854E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0418E

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

Preview Lab → · Contrast checker → · Palette generator →

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