#C5295E#C5295E

#C5295E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.193 H 6.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C5295E
RGBrgb(197, 41, 94)
HSLhsl(340, 66%, 47%)
HSVhsv(340, 79%, 77%)
CMYKcmyk(0%, 79.2%, 52.3%, 22.7%)
CIE-LABlab(44.61, 62.64, 8.67)
CIE-LCHlch(44.61, 63.24, 7.88°)
OKLaboklab(54.75% 0.1912 0.0224)
OKLCHoklch(54.75% 0.193 6.7)
XYZxyz(25.8417, 14.2680, 11.9808)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5295E #29C590
analogous
#C529AC #C5295E #C54229
triadic
#C5295E #5EC529 #295EC5
tetradic
#C5295E #ACC529 #29C590 #4229C5
square
#C5295E #ACC529 #29C590 #4229C5
split-complementary
#C5295E #29C542 #29ACC5
monochromatic
#60142E #921E46 #C5295E #DB517F #E583A4

Accessibility & contrast

On white

5.45
#C5295E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5295E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5295E#FFFFFF#000000##FFFFFF
##C5295E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5295e;
/* rgb */ color: rgb(197, 41, 94);
/* oklch */ color: oklch(54.7% 0.193 6.7);
Tailwind
colors: {
  custom: {
    50: '#dd738b',
    500: '#c5295e',
    950: '#000000',
  },
}
SCSS
$custom: #c5295e;
$custom-light: #dd738b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5295e",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 339.615,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54749,
    "c": 0.19252,
    "h": 6.7
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#C5295E
secondary
#7CCEB2
accent
#E8AF3F
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C5295E

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

Preview Lab → · Contrast checker → · Palette generator →

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