#C4277F#C4277F

#C4277F is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.5% C 0.205 H 352.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C4277F
RGBrgb(196, 39, 127)
HSLhsl(326, 67%, 46%)
HSVhsv(326, 80%, 77%)
CMYKcmyk(0%, 80.1%, 35.2%, 23.1%)
CIE-LABlab(45.25, 65.97, -10.82)
CIE-LCHlch(45.25, 66.85, 350.69°)
OKLaboklab(55.51% 0.2026 -0.0279)
OKLCHoklch(55.51% 0.205 352.2)
XYZxyz(27.3230, 14.7225, 21.4775)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4277F #27C46C
analogous
#BA27C4 #C4277F #C42731
triadic
#C4277F #7FC427 #277FC4
tetradic
#C4277F #C4BA27 #27C46C #2731C4
square
#C4277F #C4BA27 #27C46C #2731C4
split-complementary
#C4277F #31C427 #27C4BA
monochromatic
#5E133D #911D5E #C4277F #DC4D9D #E680B9

Accessibility & contrast

On white

5.32
#C4277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C4277F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4277F#FFFFFF#000000##FFFFFF
##C4277F1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#D31450
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c4277f;
/* rgb */ color: rgb(196, 39, 127);
/* oklch */ color: oklch(55.5% 0.205 352.2);
Tailwind
colors: {
  custom: {
    50: '#db73a4',
    500: '#c4277f',
    950: '#000000',
  },
}
SCSS
$custom: #c4277f;
$custom-light: #db73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4277f",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 326.369,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.20454,
    "h": 352.2
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#C4277F
secondary
#79CE9E
accent
#EA8A3E
background
#FEF7FA
surface
#FCEDF4
border
#D5C8CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C4277F

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

Preview Lab → · Contrast checker → · Palette generator →

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