#C5286E#C5286E

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

Color values

HEX#C5286E
RGBrgb(197, 40, 110)
HSLhsl(333, 66%, 46%)
HSVhsv(333, 80%, 77%)
CMYKcmyk(0%, 79.7%, 44.2%, 22.7%)
CIE-LABlab(44.97, 64.27, -0.76)
CIE-LCHlch(44.97, 64.28, 359.33°)
OKLaboklab(55.15% 0.1976 -0.0012)
OKLCHoklch(55.15% 0.198 359.6)
XYZxyz(26.6013, 14.5173, 16.1502)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5286E #28C57F
analogous
#C528BD #C5286E #C53028
triadic
#C5286E #6EC528 #286EC5
tetradic
#C5286E #BDC528 #28C57F #3028C5
square
#C5286E #BDC528 #28C57F #3028C5
split-complementary
#C5286E #28C530 #28BDC5
monochromatic
#5F1335 #921E52 #C5286E #DB4F8E #E682AE

Accessibility & contrast

On white

5.38
#C5286E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C5286E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5286E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5286E#FFFFFF#000000##FFFFFF
##C5286E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5286e;
/* rgb */ color: rgb(197, 40, 110);
/* oklch */ color: oklch(55.2% 0.198 359.6);
Tailwind
colors: {
  custom: {
    50: '#dc7397',
    500: '#c5286e',
    950: '#000000',
  },
}
SCSS
$custom: #c5286e;
$custom-light: #dc7397;
$custom-dark: #000000;
JSON
{
  "hex": "#c5286e",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 333.248,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.19764,
    "h": 359.6
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#C5286E
secondary
#7ACEA9
accent
#E99D3F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5286E

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

Preview Lab → · Contrast checker → · Palette generator →

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