#4E1A2A#4E1A2A

#4E1A2A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.080 H 4.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4E1A2A
RGBrgb(78, 26, 42)
HSLhsl(342, 50%, 20%)
HSVhsv(342, 67%, 31%)
CMYKcmyk(0%, 66.7%, 46.2%, 69.4%)
CIE-LABlab(18.04, 26.18, 2.06)
CIE-LCHlch(18.04, 26.26, 4.50°)
OKLaboklab(30.38% 0.0798 0.0056)
OKLCHoklch(30.38% 0.08 4)
XYZxyz(3.9295, 2.5261, 2.4707)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A2A #1A4E3E
analogous
#4E1A44 #4E1A2A #4E241A
triadic
#4E1A2A #2A4E1A #1A2A4E
tetradic
#4E1A2A #444E1A #1A4E3E #241A4E
square
#4E1A2A #444E1A #1A4E3E #241A4E
split-complementary
#4E1A2A #1A4E24 #1A444E
monochromatic
#17080C #200B11 #4E1A2A #7C2943 #AA395B

Accessibility & contrast

On white

13.95
#4E1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1A2A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A2A#FFFFFF#000000##FFFFFF
##4E1A2A1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262A
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#551420
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1a2a;
/* rgb */ color: rgb(78, 26, 42);
/* oklch */ color: oklch(30.4% 0.080 4.0);
Tailwind
colors: {
  custom: {
    50: '#825963',
    500: '#4e1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a2a;
$custom-light: #825963;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a2a",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 341.538,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30375,
    "c": 0.08003,
    "h": 4
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4E1A2A
secondary
#40846F
accent
#DAAF4E
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #4E1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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