#C04157#C04157

#C04157 is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.0% C 0.162 H 13.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C04157
RGBrgb(192, 65, 87)
HSLhsl(350, 50%, 50%)
HSVhsv(350, 66%, 75%)
CMYKcmyk(0%, 66.1%, 54.7%, 24.7%)
CIE-LABlab(46.55, 52.24, 15.53)
CIE-LCHlch(46.55, 54.50, 16.56°)
OKLaboklab(55.96% 0.1574 0.0389)
OKLCHoklch(55.96% 0.162 13.9)
XYZxyz(25.3511, 15.6785, 10.7063)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04157 #41C0AA
analogous
#C04197 #C04157 #C06A41
triadic
#C04157 #57C041 #4157C0
tetradic
#C04157 #97C041 #41C0AA #6A41C0
square
#C04157 #97C041 #41C0AA #6A41C0
split-complementary
#C04157 #41C06A #4197C0
monochromatic
#65222D #933142 #C04157 #CF6F80 #DE9DA8

Accessibility & contrast

On white

5.08
#C04157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C04157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04157
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04157#FFFFFF#000000##FFFFFF
##C041571.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605E57
Deuteranopia (green-blind)
#807854
Tritanopia (blue-blind)
#D1294A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c04157;
/* rgb */ color: rgb(192, 65, 87);
/* oklch */ color: oklch(56.0% 0.162 13.9);
Tailwind
colors: {
  custom: {
    50: '#d97d86',
    500: '#c04157',
    950: '#000000',
  },
}
SCSS
$custom: #c04157;
$custom-light: #d97d86;
$custom-dark: #000000;
JSON
{
  "hex": "#c04157",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 349.606,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55962,
    "c": 0.16217,
    "h": 13.9
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#C04157
secondary
#92CBC1
accent
#DAC24E
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C04157

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

Preview Lab → · Contrast checker → · Palette generator →

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