#4C0B1F#4C0B1F

#4C0B1F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.8% C 0.096 H 8.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#4C0B1F
RGBrgb(76, 11, 31)
HSLhsl(342, 75%, 17%)
HSVhsv(342, 86%, 30%)
CMYKcmyk(0%, 85.5%, 59.2%, 70.2%)
CIE-LABlab(14.82, 31.06, 5.39)
CIE-LCHlch(14.82, 31.53, 9.84°)
OKLaboklab(27.8% 0.0945 0.0138)
OKLCHoklch(27.8% 0.096 8.3)
XYZxyz(3.3478, 1.8752, 1.4817)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B1F #0B4C38
analogous
#4C0B40 #4C0B1F #4C170B
triadic
#4C0B1F #1F4C0B #0B1F4C
tetradic
#4C0B1F #404C0B #0B4C38 #170B4C
square
#4C0B1F #404C0B #0B4C38 #170B4C
split-complementary
#4C0B1F #0B4C17 #0B404C
monochromatic
#1B040B #1B040B #4C0B1F #811335 #B71A4B

Accessibility & contrast

On white

15.27
#4C0B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B1F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B1F#FFFFFF#000000##FFFFFF
##4C0B1F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1F
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#540014
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4c0b1f;
/* rgb */ color: rgb(76, 11, 31);
/* oklch */ color: oklch(27.8% 0.096 8.3);
Tailwind
colors: {
  custom: {
    50: '#83515a',
    500: '#4c0b1f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b1f;
$custom-light: #83515a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b1f",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 31
  },
  "hsl": {
    "h": 341.538,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.278,
    "c": 0.09554,
    "h": 8.3
  },
  "luminance": 0.01875
}

Semantic roles & 50–950 ramp

primary
#4C0B1F
secondary
#2B886B
accent
#F1B836
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4C0B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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