#C5335F#C5335F

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

Color values

HEX#C5335F
RGBrgb(197, 51, 95)
HSLhsl(342, 59%, 49%)
HSVhsv(342, 74%, 77%)
CMYKcmyk(0%, 74.1%, 51.8%, 22.7%)
CIE-LABlab(45.73, 59.66, 9.62)
CIE-LCHlch(45.73, 60.43, 9.16°)
OKLaboklab(55.58% 0.1817 0.0248)
OKLCHoklch(55.58% 0.183 7.8)
XYZxyz(26.2777, 15.0678, 12.3489)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5335F #33C599
analogous
#C533A8 #C5335F #C55033
triadic
#C5335F #5FC533 #335FC5
tetradic
#C5335F #A8C533 #33C599 #5033C5
square
#C5335F #A8C533 #33C599 #5033C5
split-complementary
#C5335F #33C550 #33A8C5
monochromatic
#641A30 #942648 #C5335F #D65F83 #E290A9

Accessibility & contrast

On white

5.23
#C5335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5335F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5335F#FFFFFF#000000##FFFFFF
##C5335F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A60
Deuteranopia (green-blind)
#7E775B
Tritanopia (blue-blind)
#D70D45
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5335f;
/* rgb */ color: rgb(197, 51, 95);
/* oklch */ color: oklch(55.6% 0.183 7.8);
Tailwind
colors: {
  custom: {
    50: '#dd778c',
    500: '#c5335f',
    950: '#000000',
  },
}
SCSS
$custom: #c5335f;
$custom-light: #dd778c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5335f",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 341.918,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.18339,
    "h": 7.8
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5335F

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

Preview Lab → · Contrast checker → · Palette generator →

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