#C03173#C03173

#C03173 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.187 H 357.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C03173
RGBrgb(192, 49, 115)
HSLhsl(332, 59%, 47%)
HSVhsv(332, 74%, 75%)
CMYKcmyk(0%, 74.5%, 40.1%, 24.7%)
CIE-LABlab(45.14, 60.75, -3.69)
CIE-LCHlch(45.14, 60.86, 356.53°)
OKLaboklab(55.17% 0.1866 -0.0089)
OKLCHoklch(55.17% 0.187 357.3)
XYZxyz(25.9329, 14.6442, 17.6773)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03173 #31C07E
analogous
#C031BA #C03173 #C03731
triadic
#C03173 #73C031 #3173C0
tetradic
#C03173 #BAC031 #31C07E #3731C0
square
#C03173 #BAC031 #31C07E #3731C0
split-complementary
#C03173 #31C037 #31BAC0
monochromatic
#5E1839 #8F2556 #C03173 #D55992 #E18AB2

Accessibility & contrast

On white

5.35
#C03173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C03173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03173
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03173#FFFFFF#000000##FFFFFF
##C031731.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5A75
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#D01D4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c03173;
/* rgb */ color: rgb(192, 49, 115);
/* oklch */ color: oklch(55.2% 0.187 357.3);
Tailwind
colors: {
  custom: {
    50: '#d8769b',
    500: '#c03173',
    950: '#000000',
  },
}
SCSS
$custom: #c03173;
$custom-light: #d8769b;
$custom-dark: #000000;
JSON
{
  "hex": "#c03173",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 332.308,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.18677,
    "h": 357.3
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#C03173
secondary
#82CBA9
accent
#E39A45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C03173

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

Preview Lab → · Contrast checker → · Palette generator →

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