#C03271#C03271

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

Color values

HEX#C03271
RGBrgb(192, 50, 113)
HSLhsl(333, 59%, 47%)
HSVhsv(333, 74%, 75%)
CMYKcmyk(0%, 74%, 41.1%, 24.7%)
CIE-LABlab(45.20, 60.22, -2.38)
CIE-LCHlch(45.20, 60.26, 357.74°)
OKLaboklab(55.18% 0.1849 -0.0055)
OKLCHoklch(55.18% 0.185 358.3)
XYZxyz(25.8613, 14.6832, 17.0919)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03271 #32C081
analogous
#C032B8 #C03271 #C03A32
triadic
#C03271 #71C032 #3271C0
tetradic
#C03271 #B8C032 #32C081 #3A32C0
square
#C03271 #B8C032 #32C081 #3A32C0
split-complementary
#C03271 #32C03A #32B8C0
monochromatic
#5F1938 #8F2554 #C03271 #D45B91 #E18BB1

Accessibility & contrast

On white

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

On black

3.94
#C03271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C03271#FFFFFF#000000##FFFFFF
##C032711.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D01E4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c03271;
/* rgb */ color: rgb(192, 50, 113);
/* oklch */ color: oklch(55.2% 0.185 358.3);
Tailwind
colors: {
  custom: {
    50: '#d87699',
    500: '#c03271',
    950: '#000000',
  },
}
SCSS
$custom: #c03271;
$custom-light: #d87699;
$custom-dark: #000000;
JSON
{
  "hex": "#c03271",
  "rgb": {
    "r": 192,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 333.38,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.18496,
    "h": 358.3
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#C03271
secondary
#83CBAB
accent
#E29D46
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#15090E
muted
#847B7E

Preview Lab

Preview with #C03271

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

Preview Lab → · Contrast checker → · Palette generator →

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