#4C121F#4C121F

#4C121F is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.6% C 0.087 H 11.4°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4C121F
RGBrgb(76, 18, 31)
HSLhsl(347, 62%, 18%)
HSVhsv(347, 76%, 30%)
CMYKcmyk(0%, 76.3%, 59.2%, 70.2%)
CIE-LABlab(15.84, 28.21, 6.81)
CIE-LCHlch(15.84, 29.02, 13.57°)
OKLaboklab(28.56% 0.0854 0.0172)
OKLCHoklch(28.56% 0.087 11.4)
XYZxyz(3.4444, 2.0685, 1.5139)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C121F #124C3F
analogous
#4C123C #4C121F #4C2212
triadic
#4C121F #1F4C12 #121F4C
tetradic
#4C121F #3C4C12 #124C3F #22124C
square
#4C121F #3C4C12 #124C3F #22124C
split-complementary
#4C121F #124C22 #123C4C
monochromatic
#19060A #1B060B #4C121F #7D1E33 #AF2947

Accessibility & contrast

On white

14.86
#4C121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4C121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C121F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C121F#FFFFFF#000000##FFFFFF
##4C121F1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20201F
Deuteranopia (green-blind)
#2F2C1E
Tritanopia (blue-blind)
#540717
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c121f;
/* rgb */ color: rgb(76, 18, 31);
/* oklch */ color: oklch(28.6% 0.087 11.4);
Tailwind
colors: {
  custom: {
    50: '#82555a',
    500: '#4c121f',
    950: '#000000',
  },
}
SCSS
$custom: #4c121f;
$custom-light: #82555a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c121f",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 346.552,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28558,
    "c": 0.0871,
    "h": 11.4
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#4C121F
secondary
#358573
accent
#E5C143
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C121F

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

Preview Lab → · Contrast checker → · Palette generator →

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