#C03174#C03174

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

Color values

HEX#C03174
RGBrgb(192, 49, 116)
HSLhsl(332, 59%, 47%)
HSVhsv(332, 74%, 75%)
CMYKcmyk(0%, 74.5%, 39.6%, 24.7%)
CIE-LABlab(45.18, 60.85, -4.25)
CIE-LCHlch(45.18, 61.00, 356.00°)
OKLaboklab(55.2% 0.1869 -0.0104)
OKLCHoklch(55.2% 0.187 356.8)
XYZxyz(25.9907, 14.6673, 17.9820)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03174 #31C07D
analogous
#C031BC #C03174 #C03531
triadic
#C03174 #74C031 #3174C0
tetradic
#C03174 #BCC031 #31C07D #3531C0
square
#C03174 #BCC031 #31C07D #3531C0
split-complementary
#C03174 #31C035 #31BCC0
monochromatic
#5E1839 #8F2557 #C03174 #D55993 #E18AB3

Accessibility & contrast

On white

5.34
#C03174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C03174
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03174#FFFFFF#000000##FFFFFF
##C031741.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5A76
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#D01E4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c03174;
/* rgb */ color: rgb(192, 49, 116);
/* oklch */ color: oklch(55.2% 0.187 356.8);
Tailwind
colors: {
  custom: {
    50: '#d8769b',
    500: '#c03174',
    950: '#000000',
  },
}
SCSS
$custom: #c03174;
$custom-light: #d8769b;
$custom-dark: #000000;
JSON
{
  "hex": "#c03174",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 331.888,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.18716,
    "h": 356.8
  },
  "luminance": 0.14664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C03174

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

Preview Lab → · Contrast checker → · Palette generator →

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