#C04158#C04158

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

Color values

HEX#C04158
RGBrgb(192, 65, 88)
HSLhsl(349, 50%, 50%)
HSVhsv(349, 66%, 75%)
CMYKcmyk(0%, 66.1%, 54.2%, 24.7%)
CIE-LABlab(46.57, 52.32, 14.95)
CIE-LCHlch(46.57, 54.41, 15.95°)
OKLaboklab(55.99% 0.1578 0.0376)
OKLCHoklch(55.99% 0.162 13.4)
XYZxyz(25.3922, 15.6950, 10.9229)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04158 #41C0A9
analogous
#C04197 #C04158 #C06941
triadic
#C04158 #58C041 #4158C0
tetradic
#C04158 #97C041 #41C0A9 #6941C0
square
#C04158 #97C041 #41C0A9 #6941C0
split-complementary
#C04158 #41C069 #4197C0
monochromatic
#65222E #933143 #C04158 #CF6F80 #DE9DA9

Accessibility & contrast

On white

5.07
#C04158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04158
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04158#FFFFFF#000000##FFFFFF
##C041581.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c04158;
/* rgb */ color: rgb(192, 65, 88);
/* oklch */ color: oklch(56.0% 0.162 13.4);
Tailwind
colors: {
  custom: {
    50: '#d97d86',
    500: '#c04158',
    950: '#000000',
  },
}
SCSS
$custom: #c04158;
$custom-light: #d97d86;
$custom-dark: #000000;
JSON
{
  "hex": "#c04158",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 349.134,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.16223,
    "h": 13.4
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#C04158
secondary
#92CBC0
accent
#DAC04E
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C04158

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

Preview Lab → · Contrast checker → · Palette generator →

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