#C5335B#C5335B

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

Color values

HEX#C5335B
RGBrgb(197, 51, 91)
HSLhsl(344, 59%, 49%)
HSVhsv(344, 74%, 77%)
CMYKcmyk(0%, 74.1%, 53.8%, 22.7%)
CIE-LABlab(45.63, 59.35, 11.95)
CIE-LCHlch(45.63, 60.54, 11.39°)
OKLaboklab(55.47% 0.1802 0.0304)
OKLCHoklch(55.47% 0.183 9.6)
XYZxyz(26.1005, 14.9970, 11.4158)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5335B #33C59D
analogous
#C533A4 #C5335B #C55433
triadic
#C5335B #5BC533 #335BC5
tetradic
#C5335B #A4C533 #33C59D #5433C5
square
#C5335B #A4C533 #33C59D #5433C5
split-complementary
#C5335B #33C554 #33A4C5
monochromatic
#641A2E #942645 #C5335B #D65F80 #E290A7

Accessibility & contrast

On white

5.25
#C5335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5335B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5335B#FFFFFF#000000##FFFFFF
##C5335B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595C
Deuteranopia (green-blind)
#7E7757
Tritanopia (blue-blind)
#D70844
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5335b;
/* rgb */ color: rgb(197, 51, 91);
/* oklch */ color: oklch(55.5% 0.183 9.6);
Tailwind
colors: {
  custom: {
    50: '#dd7789',
    500: '#c5335b',
    950: '#000000',
  },
}
SCSS
$custom: #c5335b;
$custom-light: #dd7789;
$custom-dark: #000000;
JSON
{
  "hex": "#c5335b",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 343.562,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.18274,
    "h": 9.6
  },
  "luminance": 0.14993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5335B

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

Preview Lab → · Contrast checker → · Palette generator →

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