#C03170#C03170

#C03170 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.186 H 358.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C03170
RGBrgb(192, 49, 112)
HSLhsl(334, 59%, 47%)
HSVhsv(334, 74%, 75%)
CMYKcmyk(0%, 74.5%, 41.7%, 24.7%)
CIE-LABlab(45.05, 60.45, -1.98)
CIE-LCHlch(45.05, 60.48, 358.13°)
OKLaboklab(55.07% 0.1856 -0.0044)
OKLCHoklch(55.07% 0.186 358.6)
XYZxyz(25.7631, 14.5762, 16.7829)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03170 #31C081
analogous
#C031B8 #C03170 #C03931
triadic
#C03170 #70C031 #3170C0
tetradic
#C03170 #B8C031 #31C081 #3931C0
square
#C03170 #B8C031 #31C081 #3931C0
split-complementary
#C03170 #31C039 #31B8C0
monochromatic
#5E1837 #8F2554 #C03170 #D55990 #E18AB1

Accessibility & contrast

On white

5.36
#C03170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C03170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03170
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03170#FFFFFF#000000##FFFFFF
##C031701.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505972
Deuteranopia (green-blind)
#77746D
Tritanopia (blue-blind)
#D01B4C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c03170;
/* rgb */ color: rgb(192, 49, 112);
/* oklch */ color: oklch(55.1% 0.186 358.6);
Tailwind
colors: {
  custom: {
    50: '#d87698',
    500: '#c03170',
    950: '#000000',
  },
}
SCSS
$custom: #c03170;
$custom-light: #d87698;
$custom-dark: #000000;
JSON
{
  "hex": "#c03170",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 333.566,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55065,
    "c": 0.18566,
    "h": 358.6
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#C03170
secondary
#82CBAB
accent
#E39D45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C03170

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

Preview Lab → · Contrast checker → · Palette generator →

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