#4D0C28#4D0C28

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

Color values

HEX#4D0C28
RGBrgb(77, 12, 40)
HSLhsl(334, 73%, 17%)
HSVhsv(334, 84%, 30%)
CMYKcmyk(0%, 84.4%, 48.1%, 69.8%)
CIE-LABlab(15.46, 31.94, -0.27)
CIE-LCHlch(15.46, 31.94, 359.52°)
OKLaboklab(28.41% 0.0981 -0.0003)
OKLCHoklch(28.41% 0.098 359.8)
XYZxyz(3.5753, 1.9944, 2.2038)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C28 #0C4D31
analogous
#4D0C49 #4D0C28 #4D110C
triadic
#4D0C28 #284D0C #0C284D
tetradic
#4D0C28 #494D0C #0C4D31 #110C4D
square
#4D0C28 #494D0C #0C4D31 #110C4D
split-complementary
#4D0C28 #0C4D11 #0C494D
monochromatic
#1A040E #1A040E #4D0C28 #821444 #B71D5F

Accessibility & contrast

On white

15.01
#4D0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C28
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C28#FFFFFF#000000##FFFFFF
##4D0C281.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#2C2B27
Tritanopia (blue-blind)
#540218
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0c28;
/* rgb */ color: rgb(77, 12, 40);
/* oklch */ color: oklch(28.4% 0.098 359.8);
Tailwind
colors: {
  custom: {
    50: '#835261',
    500: '#4d0c28',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c28;
$custom-light: #835261;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c28",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 334.154,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28405,
    "c": 0.0981,
    "h": 359.8
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#4D0C28
secondary
#2C8961
accent
#F0A138
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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