#C05158#C05158

#C05158 is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.0% C 0.143 H 18.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C05158
RGBrgb(192, 81, 88)
HSLhsl(356, 47%, 54%)
HSVhsv(356, 58%, 75%)
CMYKcmyk(0%, 57.8%, 54.2%, 24.7%)
CIE-LABlab(49.25, 45.16, 18.59)
CIE-LCHlch(49.25, 48.83, 22.37°)
OKLaboklab(57.99% 0.1351 0.0462)
OKLCHoklch(57.99% 0.143 18.9)
XYZxyz(26.4443, 17.7991, 11.2736)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05158 #51C0B9
analogous
#C0518F #C05158 #C08151
triadic
#C05158 #58C051 #5158C0
tetradic
#C05158 #8FC051 #51C0B9 #8151C0
square
#C05158 #8FC051 #51C0B9 #8151C0
split-complementary
#C05158 #51C081 #518FC0
monochromatic
#6F282C #9B383F #C05158 #D07E83 #E1ABAE

Accessibility & contrast

On white

4.61
#C05158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C05158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C05158
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C05158#FFFFFF#000000##FFFFFF
##C051581.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6758
Deuteranopia (green-blind)
#877E55
Tritanopia (blue-blind)
#D13F54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c05158;
/* rgb */ color: rgb(192, 81, 88);
/* oklch */ color: oklch(58.0% 0.143 18.9);
Tailwind
colors: {
  custom: {
    50: '#d88687',
    500: '#c05158',
    950: '#000000',
  },
}
SCSS
$custom: #c05158;
$custom-light: #d88687;
$custom-dark: #000000;
JSON
{
  "hex": "#c05158",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 356.216,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.14283,
    "h": 18.9
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#C05158
secondary
#9FCECB
accent
#D6CE51
background
#FDF8F8
surface
#FBF0EF
border
#D4CBCA
text
#150B0B
muted
#837C7C

Preview Lab

Preview with #C05158

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

Preview Lab → · Contrast checker → · Palette generator →

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