#C5286B#C5286B

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

Color values

HEX#C5286B
RGBrgb(197, 40, 107)
HSLhsl(334, 66%, 46%)
HSVhsv(334, 80%, 77%)
CMYKcmyk(0%, 79.7%, 45.7%, 22.7%)
CIE-LABlab(44.88, 64.00, 0.97)
CIE-LCHlch(44.88, 64.01, 0.87°)
OKLaboklab(55.06% 0.1967 0.0032)
OKLCHoklch(55.06% 0.197 0.9)
XYZxyz(26.4408, 14.4530, 15.3045)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5286B #28C582
analogous
#C528BA #C5286B #C53428
triadic
#C5286B #6BC528 #286BC5
tetradic
#C5286B #BAC528 #28C582 #3428C5
square
#C5286B #BAC528 #28C582 #3428C5
split-complementary
#C5286B #28C534 #28BAC5
monochromatic
#5F1334 #921E4F #C5286B #DB4F8B #E682AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5286B#FFFFFF#000000##FFFFFF
##C5286B1.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)
#4F576D
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5286b;
/* rgb */ color: rgb(197, 40, 107);
/* oklch */ color: oklch(55.1% 0.197 0.9);
Tailwind
colors: {
  custom: {
    50: '#dd7395',
    500: '#c5286b',
    950: '#000000',
  },
}
SCSS
$custom: #c5286b;
$custom-light: #dd7395;
$custom-dark: #000000;
JSON
{
  "hex": "#c5286b",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 334.395,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55057,
    "c": 0.19669,
    "h": 0.9
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5286B

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

Preview Lab → · Contrast checker → · Palette generator →

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