#C4287F#C4287F

#C4287F is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.204 H 352.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C4287F
RGBrgb(196, 40, 127)
HSLhsl(327, 66%, 46%)
HSVhsv(327, 80%, 77%)
CMYKcmyk(0%, 79.6%, 35.2%, 23.1%)
CIE-LABlab(45.34, 65.71, -10.68)
CIE-LCHlch(45.34, 66.57, 350.77°)
OKLaboklab(55.58% 0.2018 -0.0275)
OKLCHoklch(55.58% 0.204 352.2)
XYZxyz(27.3562, 14.7890, 21.4885)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4287F #28C46D
analogous
#BB28C4 #C4287F #C42831
triadic
#C4287F #7FC428 #287FC4
tetradic
#C4287F #C4BB28 #28C46D #2831C4
square
#C4287F #C4BB28 #28C46D #2831C4
split-complementary
#C4287F #31C428 #28C4BB
monochromatic
#5E133D #911E5E #C4287F #DB4E9D #E581B9

Accessibility & contrast

On white

5.31
#C4287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C4287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4287F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4287F#FFFFFF#000000##FFFFFF
##C4287F1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4287f;
/* rgb */ color: rgb(196, 40, 127);
/* oklch */ color: oklch(55.6% 0.204 352.2);
Tailwind
colors: {
  custom: {
    50: '#db73a4',
    500: '#c4287f',
    950: '#000000',
  },
}
SCSS
$custom: #c4287f;
$custom-light: #db73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c4287f",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 326.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.20366,
    "h": 352.2
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#C4287F
secondary
#7ACE9F
accent
#E98A3F
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C4287F

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

Preview Lab → · Contrast checker → · Palette generator →

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