#C43271#C43271

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

Color values

HEX#C43271
RGBrgb(196, 50, 113)
HSLhsl(334, 59%, 48%)
HSVhsv(334, 74%, 77%)
CMYKcmyk(0%, 74.5%, 42.3%, 23.1%)
CIE-LABlab(45.92, 61.32, -1.22)
CIE-LCHlch(45.92, 61.33, 358.86°)
OKLaboklab(55.85% 0.1883 -0.0025)
OKLCHoklch(55.85% 0.188 359.2)
XYZxyz(26.8882, 15.2127, 17.1400)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C43271 #32C485
analogous
#C432BA #C43271 #C43C32
triadic
#C43271 #71C432 #3271C4
tetradic
#C43271 #BAC432 #32C485 #3C32C4
square
#C43271 #BAC432 #32C485 #3C32C4
split-complementary
#C43271 #32C43C #32BAC4
monochromatic
#621939 #932655 #C43271 #D65D91 #E28EB2

Accessibility & contrast

On white

5.20
#C43271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#C43271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C43271
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C43271#FFFFFF#000000##FFFFFF
##C432711.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#79776E
Tritanopia (blue-blind)
#D41B4D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c43271;
/* rgb */ color: rgb(196, 50, 113);
/* oklch */ color: oklch(55.9% 0.188 359.2);
Tailwind
colors: {
  custom: {
    50: '#db7799',
    500: '#c43271',
    950: '#000000',
  },
}
SCSS
$custom: #c43271;
$custom-light: #db7799;
$custom-dark: #000000;
JSON
{
  "hex": "#c43271",
  "rgb": {
    "r": 196,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 334.11,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.18828,
    "h": 359.2
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#C43271
secondary
#85CDAE
accent
#E39F45
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C43271

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

Preview Lab → · Contrast checker → · Palette generator →

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