#C0418F#C0418F

#C0418F is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.181 H 346.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C0418F
RGBrgb(192, 65, 143)
HSLhsl(323, 50%, 50%)
HSVhsv(323, 66%, 75%)
CMYKcmyk(0%, 66.1%, 25.5%, 24.7%)
CIE-LABlab(48.23, 58.17, -16.07)
CIE-LCHlch(48.23, 60.35, 344.55°)
OKLaboklab(57.75% 0.1759 -0.0425)
OKLCHoklch(57.75% 0.181 346.4)
XYZxyz(28.5876, 16.9731, 27.7519)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0418F #41C072
analogous
#B241C0 #C0418F #C0414F
triadic
#C0418F #8FC041 #418FC0
tetradic
#C0418F #C0B241 #41C072 #414FC0
square
#C0418F #C0B241 #41C072 #414FC0
split-complementary
#C0418F #4FC041 #41C0B2
monochromatic
#65224B #93316D #C0418F #CF6FAA #DE9DC5

Accessibility & contrast

On white

4.78
#C0418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0418F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0418F#FFFFFF#000000##FFFFFF
##C0418F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0418f;
/* rgb */ color: rgb(192, 65, 143);
/* oklch */ color: oklch(57.8% 0.181 346.4);
Tailwind
colors: {
  custom: {
    50: '#d77eb0',
    500: '#c0418f',
    950: '#000000',
  },
}
SCSS
$custom: #c0418f;
$custom-light: #d77eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0418f",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 323.15,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.18097,
    "h": 346.4
  },
  "luminance": 0.1697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0418F

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

Preview Lab → · Contrast checker → · Palette generator →

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