#C03872#C03872

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

Color values

HEX#C03872
RGBrgb(192, 56, 114)
HSLhsl(334, 55%, 49%)
HSVhsv(334, 71%, 75%)
CMYKcmyk(0%, 70.8%, 40.6%, 24.7%)
CIE-LABlab(45.98, 58.22, -1.84)
CIE-LCHlch(45.98, 58.25, 358.19°)
OKLaboklab(55.77% 0.1785 -0.0041)
OKLCHoklch(55.77% 0.179 358.7)
XYZxyz(26.1915, 15.2530, 17.4812)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03872 #38C086
analogous
#C038B6 #C03872 #C04238
triadic
#C03872 #72C038 #3872C0
tetradic
#C03872 #B6C038 #38C086 #4238C0
square
#C03872 #B6C038 #38C086 #4238C0
split-complementary
#C03872 #38C042 #38B6C0
monochromatic
#611C3A #912A56 #C03872 #D26493 #DF93B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C03872#FFFFFF#000000##FFFFFF
##C038721.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)
#535C74
Deuteranopia (green-blind)
#78766F
Tritanopia (blue-blind)
#D02750
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c03872;
/* rgb */ color: rgb(192, 56, 114);
/* oklch */ color: oklch(55.8% 0.179 358.7);
Tailwind
colors: {
  custom: {
    50: '#d8799a',
    500: '#c03872',
    950: '#000000',
  },
}
SCSS
$custom: #c03872;
$custom-light: #d8799a;
$custom-dark: #000000;
JSON
{
  "hex": "#c03872",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 334.412,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55769,
    "c": 0.17857,
    "h": 358.7
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C03872

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

Preview Lab → · Contrast checker → · Palette generator →

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