#4B0C12#4B0C12

#4B0C12 is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.4% C 0.093 H 21.1°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#4B0C12
RGBrgb(75, 12, 18)
HSLhsl(354, 72%, 17%)
HSVhsv(354, 84%, 29%)
CMYKcmyk(0%, 84%, 76%, 70.6%)
CIE-LABlab(14.42, 29.37, 14.06)
CIE-LCHlch(14.42, 32.56, 25.58°)
OKLaboklab(27.36% 0.0865 0.0334)
OKLCHoklch(27.36% 0.093 21.1)
XYZxyz(3.1427, 1.8030, 0.7547)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C12 #0C4B45
analogous
#4B0C32 #4B0C12 #4B260C
triadic
#4B0C12 #124B0C #0C124B
tetradic
#4B0C12 #324B0C #0C4B45 #260C4B
square
#4B0C12 #324B0C #0C4B45 #260C4B
split-complementary
#4B0C12 #0C4B26 #0C324B
monochromatic
#1A0406 #1A0406 #4B0C12 #80141F #B51D2B

Accessibility & contrast

On white

15.44
#4B0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#4B0C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C12
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C12#FFFFFF#000000##FFFFFF
##4B0C121.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C12
Deuteranopia (green-blind)
#2E2910
Tritanopia (blue-blind)
#53000F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #4b0c12;
/* rgb */ color: rgb(75, 12, 18);
/* oklch */ color: oklch(27.4% 0.093 21.1);
Tailwind
colors: {
  custom: {
    50: '#83514f',
    500: '#4b0c12',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c12;
$custom-light: #83514f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c12",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 354.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27363,
    "c": 0.09269,
    "h": 21.1
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#4B0C12
secondary
#2C877E
accent
#EFDE39
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4B0C12

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

Preview Lab → · Contrast checker → · Palette generator →

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