#C5286A#C5286A

#C5286A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.196 H 1.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C5286A
RGBrgb(197, 40, 106)
HSLhsl(335, 66%, 46%)
HSVhsv(335, 80%, 77%)
CMYKcmyk(0%, 79.7%, 46.2%, 22.7%)
CIE-LABlab(44.85, 63.91, 1.55)
CIE-LCHlch(44.85, 63.93, 1.39°)
OKLaboklab(55.03% 0.1963 0.0047)
OKLCHoklch(55.03% 0.196 1.4)
XYZxyz(26.3885, 14.4321, 15.0290)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5286A #28C583
analogous
#C528B9 #C5286A #C53528
triadic
#C5286A #6AC528 #286AC5
tetradic
#C5286A #B9C528 #28C583 #3528C5
square
#C5286A #B9C528 #28C583 #3528C5
split-complementary
#C5286A #28C535 #28B9C5
monochromatic
#5F1333 #921E4F #C5286A #DB4F8A #E682AC

Accessibility & contrast

On white

5.40
#C5286A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C5286A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5286A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5286A#FFFFFF#000000##FFFFFF
##C5286A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576B
Deuteranopia (green-blind)
#797566
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5286a;
/* rgb */ color: rgb(197, 40, 106);
/* oklch */ color: oklch(55.0% 0.196 1.4);
Tailwind
colors: {
  custom: {
    50: '#dd7394',
    500: '#c5286a',
    950: '#000000',
  },
}
SCSS
$custom: #c5286a;
$custom-light: #dd7394;
$custom-dark: #000000;
JSON
{
  "hex": "#c5286a",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 334.777,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.19638,
    "h": 1.4
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#C5286A
secondary
#7ACEAB
accent
#E9A13F
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5286A

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

Preview Lab → · Contrast checker → · Palette generator →

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