#C0512D#C0512D

#C0512D is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.3% C 0.151 H 38.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C0512D
RGBrgb(192, 81, 45)
HSLhsl(15, 62%, 46%)
HSVhsv(15, 77%, 75%)
CMYKcmyk(0%, 57.8%, 76.6%, 24.7%)
CIE-LABlab(48.62, 42.51, 42.29)
CIE-LCHlch(48.62, 59.96, 44.85°)
OKLaboklab(57.31% 0.1193 0.0934)
OKLCHoklch(57.31% 0.151 38.1)
XYZxyz(25.1569, 17.2842, 4.4936)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0512D #2D9CC0
analogous
#C02D53 #C0512D #C09B2D
triadic
#C0512D #2DC051 #512DC0
tetradic
#C0512D #53C02D #2D9CC0 #9B2DC0
square
#C0512D #53C02D #2D9CC0 #9B2DC0
split-complementary
#C0512D #2DC09B #2D53C0
monochromatic
#5D2716 #8E3C21 #C0512D #D77453 #E29C85

Accessibility & contrast

On white

4.71
#C0512D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C0512D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0512D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0512D#FFFFFF#000000##FFFFFF
##C0512D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706428
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#D33849
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c0512d;
/* rgb */ color: rgb(192, 81, 45);
/* oklch */ color: oklch(57.3% 0.151 38.1);
Tailwind
colors: {
  custom: {
    50: '#db8568',
    500: '#c0512d',
    950: '#000000',
  },
}
SCSS
$custom: #c0512d;
$custom-light: #db8568;
$custom-dark: #000000;
JSON
{
  "hex": "#c0512d",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 14.694,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57309,
    "c": 0.15146,
    "h": 38.1
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#C0512D
secondary
#7DB8CC
accent
#BDE543
background
#FEF8F6
surface
#FDEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #C0512D

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

Preview Lab → · Contrast checker → · Palette generator →

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