#C04052#C04052

#C04052 is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.7% C 0.163 H 16.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C04052
RGBrgb(192, 64, 82)
HSLhsl(352, 50%, 50%)
HSVhsv(352, 67%, 75%)
CMYKcmyk(0%, 66.7%, 57.3%, 24.7%)
CIE-LABlab(46.29, 52.27, 18.24)
CIE-LCHlch(46.29, 55.36, 19.23°)
OKLaboklab(55.74% 0.1568 0.0451)
OKLCHoklch(55.74% 0.163 16)
XYZxyz(25.0969, 15.4858, 9.6485)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04052 #40C0AE
analogous
#C04092 #C04052 #C06E40
triadic
#C04052 #52C040 #4052C0
tetradic
#C04052 #92C040 #40C0AE #6E40C0
square
#C04052 #92C040 #40C0AE #6E40C0
split-complementary
#C04052 #40C06E #4092C0
monochromatic
#64212B #92303E #C04052 #CF6E7C #DE9CA5

Accessibility & contrast

On white

5.13
#C04052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C04052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04052
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04052#FFFFFF#000000##FFFFFF
##C040521.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605D52
Deuteranopia (green-blind)
#81774F
Tritanopia (blue-blind)
#D22547
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c04052;
/* rgb */ color: rgb(192, 64, 82);
/* oklch */ color: oklch(55.7% 0.163 16.0);
Tailwind
colors: {
  custom: {
    50: '#d97c82',
    500: '#c04052',
    950: '#000000',
  },
}
SCSS
$custom: #c04052;
$custom-light: #d97c82;
$custom-dark: #000000;
JSON
{
  "hex": "#c04052",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 351.563,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.16314,
    "h": 16
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#C04052
secondary
#91CBC2
accent
#DAC64E
background
#FEF7F7
surface
#FCEEEE
border
#D5C9C9
text
#160A0A
muted
#847C7C

Preview Lab

Preview with #C04052

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

Preview Lab → · Contrast checker → · Palette generator →

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