#C0318A#C0318A

#C0318A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 56.0% C 0.198 H 347.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C0318A
RGBrgb(192, 49, 138)
HSLhsl(323, 59%, 47%)
HSVhsv(323, 74%, 75%)
CMYKcmyk(0%, 74.5%, 28.1%, 24.7%)
CIE-LABlab(45.96, 63.32, -16.51)
CIE-LCHlch(45.96, 65.44, 345.39°)
OKLaboklab(56.03% 0.1927 -0.0436)
OKLCHoklch(56.03% 0.198 347.3)
XYZxyz(27.4253, 15.2411, 25.5374)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0318A #31C067
analogous
#AE31C0 #C0318A #C03143
triadic
#C0318A #8AC031 #318AC0
tetradic
#C0318A #C0AE31 #31C067 #3143C0
square
#C0318A #C0AE31 #31C067 #3143C0
split-complementary
#C0318A #43C031 #31C0AE
monochromatic
#5E1844 #8F2567 #C0318A #D559A6 #E18AC0

Accessibility & contrast

On white

5.19
#C0318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C0318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0318A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0318A#FFFFFF#000000##FFFFFF
##C0318A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#707687
Tritanopia (blue-blind)
#CE2C59
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c0318a;
/* rgb */ color: rgb(192, 49, 138);
/* oklch */ color: oklch(56.0% 0.198 347.3);
Tailwind
colors: {
  custom: {
    50: '#d777ac',
    500: '#c0318a',
    950: '#000000',
  },
}
SCSS
$custom: #c0318a;
$custom-light: #d777ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c0318a",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 322.657,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.19754,
    "h": 347.3
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#C0318A
secondary
#82CB9D
accent
#E38145
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C0318A

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

Preview Lab → · Contrast checker → · Palette generator →

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