#C5295F#C5295F

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

Color values

HEX#C5295F
RGBrgb(197, 41, 95)
HSLhsl(339, 66%, 47%)
HSVhsv(339, 79%, 77%)
CMYKcmyk(0%, 79.2%, 51.8%, 22.7%)
CIE-LABlab(44.64, 62.72, 8.08)
CIE-LCHlch(44.64, 63.24, 7.34°)
OKLaboklab(54.78% 0.1916 0.021)
OKLCHoklch(54.78% 0.193 6.3)
XYZxyz(25.8868, 14.2861, 12.2186)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5295F #29C58F
analogous
#C529AD #C5295F #C54129
triadic
#C5295F #5FC529 #295FC5
tetradic
#C5295F #ADC529 #29C58F #4129C5
square
#C5295F #ADC529 #29C58F #4129C5
split-complementary
#C5295F #29C541 #29ADC5
monochromatic
#60142E #921E47 #C5295F #DB5180 #E583A5

Accessibility & contrast

On white

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

On black

3.86
#C5295F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5295F#FFFFFF#000000##FFFFFF
##C5295F1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525660
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#D70041
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5295f;
/* rgb */ color: rgb(197, 41, 95);
/* oklch */ color: oklch(54.8% 0.193 6.3);
Tailwind
colors: {
  custom: {
    50: '#dd738c',
    500: '#c5295f',
    950: '#000000',
  },
}
SCSS
$custom: #c5295f;
$custom-light: #dd738c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5295f",
  "rgb": {
    "r": 197,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 339.231,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.19272,
    "h": 6.3
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#C5295F
secondary
#7CCEB2
accent
#E8AE3F
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C5295F

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

Preview Lab → · Contrast checker → · Palette generator →

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