#C0318B#C0318B

#C0318B is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.1% C 0.198 H 346.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C0318B
RGBrgb(192, 49, 139)
HSLhsl(322, 59%, 47%)
HSVhsv(322, 74%, 75%)
CMYKcmyk(0%, 74.5%, 27.6%, 24.7%)
CIE-LABlab(46.00, 63.44, -17.05)
CIE-LCHlch(46.00, 65.69, 344.95°)
OKLaboklab(56.07% 0.1929 -0.0451)
OKLCHoklch(56.07% 0.198 346.8)
XYZxyz(27.4980, 15.2702, 25.9204)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0318B #31C066
analogous
#AE31C0 #C0318B #C03143
triadic
#C0318B #8BC031 #318BC0
tetradic
#C0318B #C0AE31 #31C066 #3143C0
square
#C0318B #C0AE31 #31C066 #3143C0
split-complementary
#C0318B #43C031 #31C0AE
monochromatic
#5E1844 #8F2568 #C0318B #D559A7 #E18AC1

Accessibility & contrast

On white

5.18
#C0318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0318B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0318B#FFFFFF#000000##FFFFFF
##C0318B1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#CD2C5A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c0318b;
/* rgb */ color: rgb(192, 49, 139);
/* oklch */ color: oklch(56.1% 0.198 346.8);
Tailwind
colors: {
  custom: {
    50: '#d777ad',
    500: '#c0318b',
    950: '#000000',
  },
}
SCSS
$custom: #c0318b;
$custom-light: #d777ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c0318b",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 322.238,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.1981,
    "h": 346.8
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0318B

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

Preview Lab → · Contrast checker → · Palette generator →

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