#C03172#C03172

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

Color values

HEX#C03172
RGBrgb(192, 49, 114)
HSLhsl(333, 59%, 47%)
HSVhsv(333, 74%, 75%)
CMYKcmyk(0%, 74.5%, 40.6%, 24.7%)
CIE-LABlab(45.11, 60.65, -3.12)
CIE-LCHlch(45.11, 60.73, 357.06°)
OKLaboklab(55.13% 0.1863 -0.0074)
OKLCHoklch(55.13% 0.186 357.7)
XYZxyz(25.8757, 14.6213, 17.3759)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03172 #31C07F
analogous
#C031BA #C03172 #C03731
triadic
#C03172 #72C031 #3172C0
tetradic
#C03172 #BAC031 #31C07F #3731C0
square
#C03172 #BAC031 #31C07F #3731C0
split-complementary
#C03172 #31C037 #31BAC0
monochromatic
#5E1838 #8F2555 #C03172 #D55991 #E18AB2

Accessibility & contrast

On white

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

On black

3.92
#C03172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C03172#FFFFFF#000000##FFFFFF
##C031721.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5A74
Deuteranopia (green-blind)
#76756F
Tritanopia (blue-blind)
#D01D4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c03172;
/* rgb */ color: rgb(192, 49, 114);
/* oklch */ color: oklch(55.1% 0.186 357.7);
Tailwind
colors: {
  custom: {
    50: '#d8769a',
    500: '#c03172',
    950: '#000000',
  },
}
SCSS
$custom: #c03172;
$custom-light: #d8769a;
$custom-dark: #000000;
JSON
{
  "hex": "#c03172",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 332.727,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.1864,
    "h": 357.7
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#C03172
secondary
#82CBAA
accent
#E39B45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C03172

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

Preview Lab → · Contrast checker → · Palette generator →

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