#C5295D#C5295D

#C5295D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.192 H 7.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C5295D
RGBrgb(197, 41, 93)
HSLhsl(340, 66%, 47%)
HSVhsv(340, 79%, 77%)
CMYKcmyk(0%, 79.2%, 52.8%, 22.7%)
CIE-LABlab(44.59, 62.57, 9.26)
CIE-LCHlch(44.59, 63.25, 8.42°)
OKLaboklab(54.72% 0.1908 0.0239)
OKLCHoklch(54.72% 0.192 7.1)
XYZxyz(25.7971, 14.2502, 11.7460)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5295D #29C591
analogous
#C529AB #C5295D #C54329
triadic
#C5295D #5DC529 #295DC5
tetradic
#C5295D #ABC529 #29C591 #4329C5
square
#C5295D #ABC529 #29C591 #4329C5
split-complementary
#C5295D #29C543 #29ABC5
monochromatic
#60142D #921E45 #C5295D #DB517F #E583A4

Accessibility & contrast

On white

5.46
#C5295D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C5295D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5295D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5295D#FFFFFF#000000##FFFFFF
##C5295D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565E
Deuteranopia (green-blind)
#7B7559
Tritanopia (blue-blind)
#D70040
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c5295d;
/* rgb */ color: rgb(197, 41, 93);
/* oklch */ color: oklch(54.7% 0.192 7.1);
Tailwind
colors: {
  custom: {
    50: '#dd738a',
    500: '#c5295d',
    950: '#000000',
  },
}
SCSS
$custom: #c5295d;
$custom-light: #dd738a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5295d",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 340,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.19232,
    "h": 7.1
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#C5295D
secondary
#7CCEB3
accent
#E8B03F
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C5295D

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

Preview Lab → · Contrast checker → · Palette generator →

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