#C5405F#C5405F

#C5405F is a mid, vivid red. Relative luminance 0.164; OKLCH L 56.9% C 0.169 H 10.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C5405F
RGBrgb(197, 64, 95)
HSLhsl(346, 53%, 51%)
HSVhsv(346, 68%, 77%)
CMYKcmyk(0%, 67.5%, 51.8%, 22.7%)
CIE-LABlab(47.45, 54.89, 12.03)
CIE-LCHlch(47.45, 56.19, 12.36°)
OKLaboklab(56.86% 0.1664 0.0307)
OKLCHoklch(56.86% 0.169 10.4)
XYZxyz(26.9272, 16.3669, 12.5654)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5405F #40C5A6
analogous
#C540A1 #C5405F #C56340
triadic
#C5405F #5FC540 #405FC5
tetradic
#C5405F #A1C540 #40C5A6 #6340C5
square
#C5405F #A1C540 #40C5A6 #6340C5
split-complementary
#C5405F #40C563 #40A1C5
monochromatic
#6A2032 #992F47 #C5405F #D36F86 #E29EAE

Accessibility & contrast

On white

4.92
#C5405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C5405F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5405F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5405F#FFFFFF#000000##FFFFFF
##C5405F1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5F60
Deuteranopia (green-blind)
#827A5C
Tritanopia (blue-blind)
#D7284C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c5405f;
/* rgb */ color: rgb(197, 64, 95);
/* oklch */ color: oklch(56.9% 0.169 10.4);
Tailwind
colors: {
  custom: {
    50: '#dc7d8c',
    500: '#c5405f',
    950: '#000000',
  },
}
SCSS
$custom: #c5405f;
$custom-light: #dc7d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5405f",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 346.015,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56856,
    "c": 0.16921,
    "h": 10.4
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#C5405F
secondary
#93CEC0
accent
#DDBB4B
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C5405F

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

Preview Lab → · Contrast checker → · Palette generator →

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