#4D0C26#4D0C26

#4D0C26 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.097 H 1.9°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#4D0C26
RGBrgb(77, 12, 38)
HSLhsl(336, 73%, 17%)
HSVhsv(336, 84%, 30%)
CMYKcmyk(0%, 84.4%, 50.6%, 69.8%)
CIE-LABlab(15.39, 31.72, 1.09)
CIE-LCHlch(15.39, 31.74, 1.97°)
OKLaboklab(28.33% 0.0973 0.0032)
OKLCHoklch(28.33% 0.097 1.9)
XYZxyz(3.5422, 1.9811, 2.0292)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C26 #0C4D33
analogous
#4D0C47 #4D0C26 #4D120C
triadic
#4D0C26 #264D0C #0C264D
tetradic
#4D0C26 #474D0C #0C4D33 #120C4D
square
#4D0C26 #474D0C #0C4D33 #120C4D
split-complementary
#4D0C26 #0C4D12 #0C474D
monochromatic
#1A040D #1A040D #4D0C26 #821440 #B71D5A

Accessibility & contrast

On white

15.04
#4D0C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C26
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C26#FFFFFF#000000##FFFFFF
##4D0C261.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1E27
Deuteranopia (green-blind)
#2D2B24
Tritanopia (blue-blind)
#540217
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4d0c26;
/* rgb */ color: rgb(77, 12, 38);
/* oklch */ color: oklch(28.3% 0.097 1.9);
Tailwind
colors: {
  custom: {
    50: '#835260',
    500: '#4d0c26',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c26;
$custom-light: #835260;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c26",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 336,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28331,
    "c": 0.09736,
    "h": 1.9
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#4D0C26
secondary
#2C8964
accent
#F0A638
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4D0C26

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

Preview Lab → · Contrast checker → · Palette generator →

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