#4C0F26#4C0F26

#4C0F26 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.093 H 2.3°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#4C0F26
RGBrgb(76, 15, 38)
HSLhsl(337, 67%, 18%)
HSVhsv(337, 80%, 30%)
CMYKcmyk(0%, 80.3%, 50%, 70.2%)
CIE-LABlab(15.58, 30.23, 1.35)
CIE-LCHlch(15.58, 30.26, 2.55°)
OKLaboklab(28.44% 0.0926 0.0038)
OKLCHoklch(28.44% 0.093 2.3)
XYZxyz(3.5014, 2.0185, 2.0386)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F26 #0F4C35
analogous
#4C0F44 #4C0F26 #4C160F
triadic
#4C0F26 #264C0F #0F264C
tetradic
#4C0F26 #444C0F #0F4C35 #160F4C
square
#4C0F26 #444C0F #0F4C35 #160F4C
split-complementary
#4C0F26 #0F4C16 #0F444C
monochromatic
#1A050D #1A050D #4C0F26 #7F1940 #B22359

Accessibility & contrast

On white

14.96
#4C0F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0F26
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F26#FFFFFF#000000##FFFFFF
##4C0F261.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1F27
Deuteranopia (green-blind)
#2D2B25
Tritanopia (blue-blind)
#530519
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0f26;
/* rgb */ color: rgb(76, 15, 38);
/* oklch */ color: oklch(28.4% 0.093 2.3);
Tailwind
colors: {
  custom: {
    50: '#825360',
    500: '#4c0f26',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f26;
$custom-light: #825360;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f26",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 337.377,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28436,
    "c": 0.09269,
    "h": 2.3
  },
  "luminance": 0.02018
}

Semantic roles & 50–950 ramp

primary
#4C0F26
secondary
#318666
accent
#EAA93E
background
#F8F4F5
surface
#EFE8E9
border
#CAC4C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4C0F26

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

Preview Lab → · Contrast checker → · Palette generator →

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