#C5335E#C5335E

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

Color values

HEX#C5335E
RGBrgb(197, 51, 94)
HSLhsl(342, 59%, 49%)
HSVhsv(342, 74%, 77%)
CMYKcmyk(0%, 74.1%, 52.3%, 22.7%)
CIE-LABlab(45.70, 59.58, 10.20)
CIE-LCHlch(45.70, 60.45, 9.71°)
OKLaboklab(55.55% 0.1813 0.0262)
OKLCHoklch(55.55% 0.183 8.2)
XYZxyz(26.2325, 15.0498, 12.1111)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5335E #33C59A
analogous
#C533A7 #C5335E #C55133
triadic
#C5335E #5EC533 #335EC5
tetradic
#C5335E #A7C533 #33C59A #5133C5
square
#C5335E #A7C533 #33C59A #5133C5
split-complementary
#C5335E #33C551 #33A7C5
monochromatic
#641A30 #942647 #C5335E #D65F82 #E290A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5335E#FFFFFF#000000##FFFFFF
##C5335E1.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)
#585A5F
Deuteranopia (green-blind)
#7E775A
Tritanopia (blue-blind)
#D70C45
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5335e;
/* rgb */ color: rgb(197, 51, 94);
/* oklch */ color: oklch(55.6% 0.183 8.2);
Tailwind
colors: {
  custom: {
    50: '#dd778b',
    500: '#c5335e',
    950: '#000000',
  },
}
SCSS
$custom: #c5335e;
$custom-light: #dd778b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5335e",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 342.329,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.18321,
    "h": 8.2
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#C5335E
secondary
#87CDB8
accent
#E2B446
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C5335E

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

Preview Lab → · Contrast checker → · Palette generator →

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