#C4287A#C4287A

#C4287A is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.201 H 354.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C4287A
RGBrgb(196, 40, 122)
HSLhsl(328, 66%, 46%)
HSVhsv(328, 80%, 77%)
CMYKcmyk(0%, 79.6%, 37.8%, 23.1%)
CIE-LABlab(45.17, 65.19, -7.88)
CIE-LCHlch(45.17, 65.66, 353.11°)
OKLaboklab(55.39% 0.2005 -0.02)
OKLCHoklch(55.39% 0.201 354.3)
XYZxyz(27.0384, 14.6619, 19.8148)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4287A #28C472
analogous
#C028C4 #C4287A #C4282C
triadic
#C4287A #7AC428 #287AC4
tetradic
#C4287A #C4C028 #28C472 #282CC4
square
#C4287A #C4C028 #28C472 #282CC4
split-complementary
#C4287A #2CC428 #28C4C0
monochromatic
#5E133B #911E5A #C4287A #DB4E98 #E581B6

Accessibility & contrast

On white

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

On black

3.93
#C4287A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C4287A#FFFFFF#000000##FFFFFF
##C4287A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#757577
Tritanopia (blue-blind)
#D4104E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c4287a;
/* rgb */ color: rgb(196, 40, 122);
/* oklch */ color: oklch(55.4% 0.201 354.3);
Tailwind
colors: {
  custom: {
    50: '#db73a0',
    500: '#c4287a',
    950: '#000000',
  },
}
SCSS
$custom: #c4287a;
$custom-light: #db73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c4287a",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 328.462,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.20145,
    "h": 354.3
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#C4287A
secondary
#7ACEA2
accent
#E9903F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C4287A

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

Preview Lab → · Contrast checker → · Palette generator →

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