#C04255#C04255

#C04255 is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.0% C 0.161 H 15.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C04255
RGBrgb(192, 66, 85)
HSLhsl(351, 50%, 51%)
HSVhsv(351, 66%, 75%)
CMYKcmyk(0%, 65.6%, 55.7%, 24.7%)
CIE-LABlab(46.66, 51.67, 16.90)
CIE-LCHlch(46.66, 54.36, 18.12°)
OKLaboklab(56.03% 0.1553 0.0421)
OKLCHoklch(56.03% 0.161 15.2)
XYZxyz(25.3284, 15.7621, 10.3012)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04255 #42C0AD
analogous
#C04294 #C04255 #C06E42
triadic
#C04255 #55C042 #4255C0
tetradic
#C04255 #94C042 #42C0AD #6E42C0
square
#C04255 #94C042 #42C0AD #6E42C0
split-complementary
#C04255 #42C06E #4294C0
monochromatic
#66222C #943140 #C04255 #CF707E #DF9EA8

Accessibility & contrast

On white

5.06
#C04255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C04255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04255
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04255#FFFFFF#000000##FFFFFF
##C042551.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615E55
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#D22A4A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04255;
/* rgb */ color: rgb(192, 66, 85);
/* oklch */ color: oklch(56.0% 0.161 15.2);
Tailwind
colors: {
  custom: {
    50: '#d97d84',
    500: '#c04255',
    950: '#000000',
  },
}
SCSS
$custom: #c04255;
$custom-light: #d97d84;
$custom-dark: #000000;
JSON
{
  "hex": "#c04255",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 350.952,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.16091,
    "h": 15.2
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#C04255
secondary
#93CBC2
accent
#DAC54E
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #C04255

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

Preview Lab → · Contrast checker → · Palette generator →

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