#C5286C#C5286C

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

Color values

HEX#C5286C
RGBrgb(197, 40, 108)
HSLhsl(334, 66%, 46%)
HSVhsv(334, 80%, 77%)
CMYKcmyk(0%, 79.7%, 45.2%, 22.7%)
CIE-LABlab(44.91, 64.09, 0.39)
CIE-LCHlch(44.91, 64.09, 0.35°)
OKLaboklab(55.09% 0.197 0.0017)
OKLCHoklch(55.09% 0.197 0.5)
XYZxyz(26.4937, 14.4742, 15.5831)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5286C #28C581
analogous
#C528BB #C5286C #C53328
triadic
#C5286C #6CC528 #286CC5
tetradic
#C5286C #BBC528 #28C581 #3328C5
square
#C5286C #BBC528 #28C581 #3328C5
split-complementary
#C5286C #28C533 #28BBC5
monochromatic
#5F1334 #921E50 #C5286C #DB4F8C #E682AD

Accessibility & contrast

On white

5.39
#C5286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5286C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5286C#FFFFFF#000000##FFFFFF
##C5286C1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576E
Deuteranopia (green-blind)
#787568
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5286c;
/* rgb */ color: rgb(197, 40, 108);
/* oklch */ color: oklch(55.1% 0.197 0.5);
Tailwind
colors: {
  custom: {
    50: '#dd7395',
    500: '#c5286c',
    950: '#000000',
  },
}
SCSS
$custom: #c5286c;
$custom-light: #dd7395;
$custom-dark: #000000;
JSON
{
  "hex": "#c5286c",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 334.013,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.197,
    "h": 0.5
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#C5286C
secondary
#7ACEAA
accent
#E99F3F
background
#FEF7F9
surface
#FDEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5286C

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

Preview Lab → · Contrast checker → · Palette generator →

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