#C0418B#C0418B

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

Color values

HEX#C0418B
RGBrgb(192, 65, 139)
HSLhsl(325, 50%, 50%)
HSVhsv(325, 66%, 75%)
CMYKcmyk(0%, 66.1%, 27.6%, 24.7%)
CIE-LABlab(48.08, 57.65, -13.90)
CIE-LCHlch(48.08, 59.30, 346.45°)
OKLaboklab(57.59% 0.1749 -0.0365)
OKLCHoklch(57.59% 0.179 348.2)
XYZxyz(28.2900, 16.8541, 26.1844)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0418B #41C076
analogous
#B541C0 #C0418B #C0414B
triadic
#C0418B #8BC041 #418BC0
tetradic
#C0418B #C0B541 #41C076 #414BC0
square
#C0418B #C0B541 #41C076 #414BC0
split-complementary
#C0418B #4BC041 #41C0B5
monochromatic
#652249 #93316A #C0418B #CF6FA7 #DE9DC3

Accessibility & contrast

On white

4.81
#C0418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C0418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0418B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0418B#FFFFFF#000000##FFFFFF
##C0418B1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#767A88
Tritanopia (blue-blind)
#CD3D60
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0418b;
/* rgb */ color: rgb(192, 65, 139);
/* oklch */ color: oklch(57.6% 0.179 348.2);
Tailwind
colors: {
  custom: {
    50: '#d77ead',
    500: '#c0418b',
    950: '#000000',
  },
}
SCSS
$custom: #c0418b;
$custom-light: #d77ead;
$custom-dark: #000000;
JSON
{
  "hex": "#c0418b",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 325.039,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.1787,
    "h": 348.2
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#C0418B
secondary
#92CBAA
accent
#DA884E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0418B

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

Preview Lab → · Contrast checker → · Palette generator →

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