#C0418C#C0418C

#C0418C is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.6% C 0.179 H 347.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C0418C
RGBrgb(192, 65, 140)
HSLhsl(325, 50%, 50%)
HSVhsv(325, 66%, 75%)
CMYKcmyk(0%, 66.1%, 27.1%, 24.7%)
CIE-LABlab(48.11, 57.78, -14.44)
CIE-LCHlch(48.11, 59.56, 345.97°)
OKLaboklab(57.63% 0.1752 -0.038)
OKLCHoklch(57.63% 0.179 347.8)
XYZxyz(28.3634, 16.8834, 26.5710)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0418C #41C075
analogous
#B541C0 #C0418C #C0414C
triadic
#C0418C #8CC041 #418CC0
tetradic
#C0418C #C0B541 #41C075 #414CC0
square
#C0418C #C0B541 #41C075 #414CC0
split-complementary
#C0418C #4CC041 #41C0B5
monochromatic
#652249 #93316B #C0418C #CF6FA8 #DE9DC4

Accessibility & contrast

On white

4.80
#C0418C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C0418C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0418C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0418C#FFFFFF#000000##FFFFFF
##C0418C1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648E
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#CD3D61
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0418c;
/* rgb */ color: rgb(192, 65, 140);
/* oklch */ color: oklch(57.6% 0.179 347.8);
Tailwind
colors: {
  custom: {
    50: '#d77ead',
    500: '#c0418c',
    950: '#000000',
  },
}
SCSS
$custom: #c0418c;
$custom-light: #d77ead;
$custom-dark: #000000;
JSON
{
  "hex": "#c0418c",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 324.567,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.17925,
    "h": 347.8
  },
  "luminance": 0.16881
}

Semantic roles & 50–950 ramp

primary
#C0418C
secondary
#92CBA9
accent
#DA874E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0418C

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

Preview Lab → · Contrast checker → · Palette generator →

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