#C54162#C54162

#C54162 is a mid, vivid red. Relative luminance 0.165; OKLCH L 57.0% C 0.168 H 9.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C54162
RGBrgb(197, 65, 98)
HSLhsl(345, 53%, 51%)
HSVhsv(345, 67%, 77%)
CMYKcmyk(0%, 67%, 50.3%, 22.7%)
CIE-LABlab(47.67, 54.74, 10.50)
CIE-LCHlch(47.67, 55.74, 10.86°)
OKLaboklab(57.04% 0.1663 0.027)
OKLCHoklch(57.04% 0.168 9.2)
XYZxyz(27.1231, 16.5363, 13.3164)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54162 #41C5A4
analogous
#C541A4 #C54162 #C56241
triadic
#C54162 #62C541 #4162C5
tetradic
#C54162 #A4C541 #41C5A4 #6241C5
square
#C54162 #A4C541 #41C5A4 #6241C5
split-complementary
#C54162 #41C562 #41A4C5
monochromatic
#6B2133 #9A2F4A #C54162 #D37089 #E29FAF

Accessibility & contrast

On white

4.88
#C54162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C54162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54162
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54162#FFFFFF#000000##FFFFFF
##C541621.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6063
Deuteranopia (green-blind)
#827B5F
Tritanopia (blue-blind)
#D62A4E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c54162;
/* rgb */ color: rgb(197, 65, 98);
/* oklch */ color: oklch(57.0% 0.168 9.2);
Tailwind
colors: {
  custom: {
    50: '#dc7e8e',
    500: '#c54162',
    950: '#000000',
  },
}
SCSS
$custom: #c54162;
$custom-light: #dc7e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54162",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 345,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.16845,
    "h": 9.2
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#C54162
secondary
#94CEBF
accent
#DDB84B
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C54162

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

Preview Lab → · Contrast checker → · Palette generator →

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