#4C0F18#4C0F18

#4C0F18 is a dark, moderate red. Relative luminance 0.019; OKLCH L 28.0% C 0.090 H 17.2°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#4C0F18
RGBrgb(76, 15, 24)
HSLhsl(351, 67%, 18%)
HSVhsv(351, 80%, 30%)
CMYKcmyk(0%, 80.3%, 68.4%, 70.2%)
CIE-LABlab(15.19, 28.93, 11.01)
CIE-LCHlch(15.19, 30.96, 20.84°)
OKLaboklab(28.02% 0.0864 0.0267)
OKLCHoklch(28.02% 0.09 17.2)
XYZxyz(3.3165, 1.9446, 1.0647)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F18 #0F4C43
analogous
#4C0F36 #4C0F18 #4C250F
triadic
#4C0F18 #184C0F #0F184C
tetradic
#4C0F18 #364C0F #0F4C43 #250F4C
square
#4C0F18 #364C0F #0F4C43 #250F4C
split-complementary
#4C0F18 #0F4C25 #0F364C
monochromatic
#1A0508 #1A0508 #4C0F18 #7F1928 #B22338

Accessibility & contrast

On white

15.12
#4C0F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4C0F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F18
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F18#FFFFFF#000000##FFFFFF
##4C0F181.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E18
Deuteranopia (green-blind)
#2F2B16
Tritanopia (blue-blind)
#540013
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0f18;
/* rgb */ color: rgb(76, 15, 24);
/* oklch */ color: oklch(28.0% 0.090 17.2);
Tailwind
colors: {
  custom: {
    50: '#835354',
    500: '#4c0f18',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f18;
$custom-light: #835354;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f18",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 24
  },
  "hsl": {
    "h": 351.148,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2802,
    "c": 0.09038,
    "h": 17.2
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#4C0F18
secondary
#31867A
accent
#EAD13E
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4C0F18

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

Preview Lab → · Contrast checker → · Palette generator →

#4C0F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva