#4C0F1F#4C0F1F

#4C0F1F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.2% C 0.091 H 9.9°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#4C0F1F
RGBrgb(76, 15, 31)
HSLhsl(344, 67%, 18%)
HSVhsv(344, 80%, 30%)
CMYKcmyk(0%, 80.3%, 59.2%, 70.2%)
CIE-LABlab(15.37, 29.52, 6.15)
CIE-LCHlch(15.37, 30.15, 11.77°)
OKLaboklab(28.21% 0.0896 0.0156)
OKLCHoklch(28.21% 0.091 9.9)
XYZxyz(3.3989, 1.9775, 1.4988)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F1F #0F4C3C
analogous
#4C0F3D #4C0F1F #4C1D0F
triadic
#4C0F1F #1F4C0F #0F1F4C
tetradic
#4C0F1F #3D4C0F #0F4C3C #1D0F4C
square
#4C0F1F #3D4C0F #0F4C3C #1D0F4C
split-complementary
#4C0F1F #0F4C1D #0F3D4C
monochromatic
#1A050A #1A050A #4C0F1F #7F1934 #B22349

Accessibility & contrast

On white

15.05
#4C0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C0F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F1F
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F1F#FFFFFF#000000##FFFFFF
##4C0F1F1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F1F
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#540316
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0f1f;
/* rgb */ color: rgb(76, 15, 31);
/* oklch */ color: oklch(28.2% 0.091 9.9);
Tailwind
colors: {
  custom: {
    50: '#82535a',
    500: '#4c0f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f1f;
$custom-light: #82535a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f1f",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 344.262,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28207,
    "c": 0.09094,
    "h": 9.9
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#4C0F1F
secondary
#318670
accent
#EABD3E
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4C0F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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