#C5334E#C5334E

#C5334E is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.2% C 0.182 H 15.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C5334E
RGBrgb(197, 51, 78)
HSLhsl(349, 59%, 49%)
HSVhsv(349, 74%, 77%)
CMYKcmyk(0%, 74.1%, 60.4%, 22.7%)
CIE-LABlab(45.35, 58.42, 19.58)
CIE-LCHlch(45.35, 61.62, 18.53°)
OKLaboklab(55.17% 0.1752 0.0479)
OKLCHoklch(55.17% 0.182 15.3)
XYZxyz(25.5875, 14.7917, 8.7140)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5334E #33C5AA
analogous
#C53397 #C5334E #C56133
triadic
#C5334E #4EC533 #334EC5
tetradic
#C5334E #97C533 #33C5AA #6133C5
square
#C5334E #97C533 #33C5AA #6133C5
split-complementary
#C5334E #33C561 #3397C5
monochromatic
#641A28 #94263B #C5334E #D65F75 #E2909F

Accessibility & contrast

On white

5.31
#C5334E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C5334E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5334E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5334E#FFFFFF#000000##FFFFFF
##C5334E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#D8003E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5334e;
/* rgb */ color: rgb(197, 51, 78);
/* oklch */ color: oklch(55.2% 0.182 15.3);
Tailwind
colors: {
  custom: {
    50: '#de777f',
    500: '#c5334e',
    950: '#000000',
  },
}
SCSS
$custom: #c5334e;
$custom-light: #de777f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5334e",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 348.904,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55173,
    "c": 0.1816,
    "h": 15.3
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#C5334E
secondary
#87CDC0
accent
#E2C546
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C5334E

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

Preview Lab → · Contrast checker → · Palette generator →

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