#C04057#C04057

#C04057 is a mid, vivid red. Relative luminance 0.156; OKLCH L 55.8% C 0.163 H 13.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C04057
RGBrgb(192, 64, 87)
HSLhsl(349, 50%, 50%)
HSVhsv(349, 67%, 75%)
CMYKcmyk(0%, 66.7%, 54.7%, 24.7%)
CIE-LABlab(46.40, 52.65, 15.33)
CIE-LCHlch(46.40, 54.84, 16.23°)
OKLaboklab(55.85% 0.1588 0.0384)
OKLCHoklch(55.85% 0.163 13.6)
XYZxyz(25.2942, 15.5647, 10.6873)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04057 #40C0A9
analogous
#C04097 #C04057 #C06940
triadic
#C04057 #57C040 #4057C0
tetradic
#C04057 #97C040 #40C0A9 #6940C0
square
#C04057 #97C040 #40C0A9 #6940C0
split-complementary
#C04057 #40C069 #4097C0
monochromatic
#64212D #923042 #C04057 #CF6E7F #DE9CA8

Accessibility & contrast

On white

5.11
#C04057 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C04057 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04057
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04057#FFFFFF#000000##FFFFFF
##C040571.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5D57
Deuteranopia (green-blind)
#807854
Tritanopia (blue-blind)
#D12749
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c04057;
/* rgb */ color: rgb(192, 64, 87);
/* oklch */ color: oklch(55.8% 0.163 13.6);
Tailwind
colors: {
  custom: {
    50: '#d97c86',
    500: '#c04057',
    950: '#000000',
  },
}
SCSS
$custom: #c04057;
$custom-light: #d97c86;
$custom-dark: #000000;
JSON
{
  "hex": "#c04057",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 87
  },
  "hsl": {
    "h": 349.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.16334,
    "h": 13.6
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#C04057
secondary
#91CBC0
accent
#DAC14E
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C04057

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

Preview Lab → · Contrast checker → · Palette generator →

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