#C5286F#C5286F

#C5286F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.198 H 359.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C5286F
RGBrgb(197, 40, 111)
HSLhsl(333, 66%, 46%)
HSVhsv(333, 80%, 77%)
CMYKcmyk(0%, 79.7%, 43.7%, 22.7%)
CIE-LABlab(45.00, 64.37, -1.33)
CIE-LCHlch(45.00, 64.38, 358.82°)
OKLaboklab(55.18% 0.198 -0.0027)
OKLCHoklch(55.18% 0.198 359.2)
XYZxyz(26.6561, 14.5392, 16.4385)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5286F #28C57E
analogous
#C528BE #C5286F #C52F28
triadic
#C5286F #6FC528 #286FC5
tetradic
#C5286F #BEC528 #28C57E #2F28C5
square
#C5286F #BEC528 #28C57E #2F28C5
split-complementary
#C5286F #28C52F #28BEC5
monochromatic
#5F1336 #921E52 #C5286F #DB4F8E #E682AF

Accessibility & contrast

On white

5.37
#C5286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C5286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5286F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5286F#FFFFFF#000000##FFFFFF
##C5286F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5771
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#D60048
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5286f;
/* rgb */ color: rgb(197, 40, 111);
/* oklch */ color: oklch(55.2% 0.198 359.2);
Tailwind
colors: {
  custom: {
    50: '#dc7398',
    500: '#c5286f',
    950: '#000000',
  },
}
SCSS
$custom: #c5286f;
$custom-light: #dc7398;
$custom-dark: #000000;
JSON
{
  "hex": "#c5286f",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 332.866,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.19798,
    "h": 359.2
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#C5286F
secondary
#7ACEA8
accent
#E99C3F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5286F

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

Preview Lab → · Contrast checker → · Palette generator →

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