#C5335D#C5335D

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

Color values

HEX#C5335D
RGBrgb(197, 51, 93)
HSLhsl(343, 59%, 49%)
HSVhsv(343, 74%, 77%)
CMYKcmyk(0%, 74.1%, 52.8%, 22.7%)
CIE-LABlab(45.68, 59.50, 10.78)
CIE-LCHlch(45.68, 60.47, 10.27°)
OKLaboklab(55.53% 0.181 0.0276)
OKLCHoklch(55.53% 0.183 8.7)
XYZxyz(26.1880, 15.0319, 11.8763)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5335D #33C59B
analogous
#C533A6 #C5335D #C55233
triadic
#C5335D #5DC533 #335DC5
tetradic
#C5335D #A6C533 #33C59B #5233C5
square
#C5335D #A6C533 #33C59B #5233C5
split-complementary
#C5335D #33C552 #33A6C5
monochromatic
#641A2F #942646 #C5335D #D65F81 #E290A8

Accessibility & contrast

On white

5.24
#C5335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C5335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5335D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5335D#FFFFFF#000000##FFFFFF
##C5335D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595E
Deuteranopia (green-blind)
#7E7759
Tritanopia (blue-blind)
#D70B45
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5335d;
/* rgb */ color: rgb(197, 51, 93);
/* oklch */ color: oklch(55.5% 0.183 8.7);
Tailwind
colors: {
  custom: {
    50: '#dd778a',
    500: '#c5335d',
    950: '#000000',
  },
}
SCSS
$custom: #c5335d;
$custom-light: #dd778a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5335d",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 342.74,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.18305,
    "h": 8.7
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#C5335D
secondary
#87CDB9
accent
#E2B546
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C5335D

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

Preview Lab → · Contrast checker → · Palette generator →

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