#4E1A2F#4E1A2F

#4E1A2F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.6% C 0.082 H 358.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#4E1A2F
RGBrgb(78, 26, 47)
HSLhsl(336, 50%, 20%)
HSVhsv(336, 67%, 31%)
CMYKcmyk(0%, 66.7%, 39.7%, 69.4%)
CIE-LABlab(18.21, 26.83, -1.24)
CIE-LCHlch(18.21, 26.86, 357.35°)
OKLaboklab(30.56% 0.0819 -0.0029)
OKLCHoklch(30.56% 0.082 358)
XYZxyz(4.0246, 2.5642, 2.9718)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A2F #1A4E39
analogous
#4E1A49 #4E1A2F #4E1F1A
triadic
#4E1A2F #2F4E1A #1A2F4E
tetradic
#4E1A2F #494E1A #1A4E39 #1F1A4E
square
#4E1A2F #494E1A #1A4E39 #1F1A4E
split-complementary
#4E1A2F #1A4E1F #1A494E
monochromatic
#17080E #200B13 #4E1A2F #7C294B #AA3966

Accessibility & contrast

On white

13.88
#4E1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A2F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A2F#FFFFFF#000000##FFFFFF
##4E1A2F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#551622
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1a2f;
/* rgb */ color: rgb(78, 26, 47);
/* oklch */ color: oklch(30.6% 0.082 358.0);
Tailwind
colors: {
  custom: {
    50: '#825a67',
    500: '#4e1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a2f;
$custom-light: #825a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a2f",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 335.769,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30557,
    "c": 0.08193,
    "h": 358
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#4E1A2F
secondary
#408468
accent
#DAA14E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4E1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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