#4C0F1B#4C0F1B

#4C0F1B is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.090 H 14.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#4C0F1B
RGBrgb(76, 15, 27)
HSLhsl(348, 67%, 18%)
HSVhsv(348, 80%, 30%)
CMYKcmyk(0%, 80.3%, 64.5%, 70.2%)
CIE-LABlab(15.26, 29.17, 8.93)
CIE-LCHlch(15.26, 30.50, 17.02°)
OKLaboklab(28.1% 0.0877 0.0221)
OKLCHoklch(28.1% 0.09 14.1)
XYZxyz(3.3495, 1.9578, 1.2382)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F1B #0F4C40
analogous
#4C0F39 #4C0F1B #4C220F
triadic
#4C0F1B #1B4C0F #0F1B4C
tetradic
#4C0F1B #394C0F #0F4C40 #220F4C
square
#4C0F1B #394C0F #0F4C40 #220F4C
split-complementary
#4C0F1B #0F4C22 #0F394C
monochromatic
#1A0509 #1A0509 #4C0F1B #7F192D #B2233F

Accessibility & contrast

On white

15.09
#4C0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F1B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F1B#FFFFFF#000000##FFFFFF
##4C0F1B1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1B
Deuteranopia (green-blind)
#2F2B19
Tritanopia (blue-blind)
#540114
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0f1b;
/* rgb */ color: rgb(76, 15, 27);
/* oklch */ color: oklch(28.1% 0.090 14.1);
Tailwind
colors: {
  custom: {
    50: '#835357',
    500: '#4c0f1b',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f1b;
$custom-light: #835357;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f1b",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 27
  },
  "hsl": {
    "h": 348.197,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28095,
    "c": 0.09047,
    "h": 14.1
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#4C0F1B
secondary
#318675
accent
#EAC83E
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C0F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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