#C5296C#C5296C

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

Color values

HEX#C5296C
RGBrgb(197, 41, 108)
HSLhsl(334, 66%, 47%)
HSVhsv(334, 79%, 77%)
CMYKcmyk(0%, 79.2%, 45.2%, 22.7%)
CIE-LABlab(45.00, 63.82, 0.53)
CIE-LCHlch(45.00, 63.82, 0.48°)
OKLaboklab(55.16% 0.1961 0.0021)
OKLCHoklch(55.16% 0.196 0.6)
XYZxyz(26.5278, 14.5425, 15.5945)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5296C #29C582
analogous
#C529BA #C5296C #C53429
triadic
#C5296C #6CC529 #296CC5
tetradic
#C5296C #BAC529 #29C582 #3429C5
square
#C5296C #BAC529 #29C582 #3429C5
split-complementary
#C5296C #29C534 #29BAC5
monochromatic
#601434 #921E50 #C5296C #DB518C #E583AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5296C#FFFFFF#000000##FFFFFF
##C5296C1.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)
#4F576E
Deuteranopia (green-blind)
#797568
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5296c;
/* rgb */ color: rgb(197, 41, 108);
/* oklch */ color: oklch(55.2% 0.196 0.6);
Tailwind
colors: {
  custom: {
    50: '#dd7395',
    500: '#c5296c',
    950: '#000000',
  },
}
SCSS
$custom: #c5296c;
$custom-light: #dd7395;
$custom-dark: #000000;
JSON
{
  "hex": "#c5296c",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 334.231,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.19612,
    "h": 0.6
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#C5296C
secondary
#7CCEAB
accent
#E8A03F
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5296C

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

Preview Lab → · Contrast checker → · Palette generator →

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