#C03871#C03871

#C03871 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.178 H 359.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C03871
RGBrgb(192, 56, 113)
HSLhsl(335, 55%, 49%)
HSVhsv(335, 71%, 75%)
CMYKcmyk(0%, 70.8%, 41.1%, 24.7%)
CIE-LABlab(45.95, 58.12, -1.27)
CIE-LCHlch(45.95, 58.13, 358.75°)
OKLaboklab(55.74% 0.1782 -0.0026)
OKLCHoklch(55.74% 0.178 359.2)
XYZxyz(26.1349, 15.2303, 17.1831)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03871 #38C087
analogous
#C038B5 #C03871 #C04338
triadic
#C03871 #71C038 #3871C0
tetradic
#C03871 #B5C038 #38C087 #4338C0
square
#C03871 #B5C038 #38C087 #4338C0
split-complementary
#C03871 #38C043 #38B5C0
monochromatic
#611C39 #912A55 #C03871 #D26492 #DF93B3

Accessibility & contrast

On white

5.19
#C03871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C03871
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03871#FFFFFF#000000##FFFFFF
##C038711.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#D02750
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c03871;
/* rgb */ color: rgb(192, 56, 113);
/* oklch */ color: oklch(55.7% 0.178 359.2);
Tailwind
colors: {
  custom: {
    50: '#d87999',
    500: '#c03871',
    950: '#000000',
  },
}
SCSS
$custom: #c03871;
$custom-light: #d87999;
$custom-dark: #000000;
JSON
{
  "hex": "#c03871",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 334.853,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55737,
    "c": 0.17821,
    "h": 359.2
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#C03871
secondary
#89CBAF
accent
#DEA04A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C03871

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

Preview Lab → · Contrast checker → · Palette generator →

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