#C5335A#C5335A

#C5335A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.183 H 10.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C5335A
RGBrgb(197, 51, 90)
HSLhsl(344, 59%, 49%)
HSVhsv(344, 74%, 77%)
CMYKcmyk(0%, 74.1%, 54.3%, 22.7%)
CIE-LABlab(45.61, 59.27, 12.54)
CIE-LCHlch(45.61, 60.58, 11.94°)
OKLaboklab(55.45% 0.1798 0.0318)
OKLCHoklch(55.45% 0.183 10)
XYZxyz(26.0577, 14.9798, 11.1901)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5335A #33C59E
analogous
#C533A3 #C5335A #C55533
triadic
#C5335A #5AC533 #335AC5
tetradic
#C5335A #A3C533 #33C59E #5533C5
square
#C5335A #A3C533 #33C59E #5533C5
split-complementary
#C5335A #33C555 #33A3C5
monochromatic
#641A2E #942644 #C5335A #D65F7F #E290A6

Accessibility & contrast

On white

5.26
#C5335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C5335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5335A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5335A#FFFFFF#000000##FFFFFF
##C5335A1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59595B
Deuteranopia (green-blind)
#7E7756
Tritanopia (blue-blind)
#D70743
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5335a;
/* rgb */ color: rgb(197, 51, 90);
/* oklch */ color: oklch(55.4% 0.183 10.0);
Tailwind
colors: {
  custom: {
    50: '#dd7788',
    500: '#c5335a',
    950: '#000000',
  },
}
SCSS
$custom: #c5335a;
$custom-light: #dd7788;
$custom-dark: #000000;
JSON
{
  "hex": "#c5335a",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 343.973,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.1826,
    "h": 10
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#C5335A
secondary
#87CDBA
accent
#E2B846
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C5335A

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

Preview Lab → · Contrast checker → · Palette generator →

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