#4E182A#4E182A

#4E182A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.083 H 2.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4E182A
RGBrgb(78, 24, 42)
HSLhsl(340, 53%, 20%)
HSVhsv(340, 69%, 31%)
CMYKcmyk(0%, 69.2%, 46.2%, 69.4%)
CIE-LABlab(17.65, 27.23, 1.50)
CIE-LCHlch(17.65, 27.27, 3.16°)
OKLaboklab(30.09% 0.0831 0.0042)
OKLCHoklch(30.09% 0.083 2.9)
XYZxyz(3.8867, 2.4406, 2.4564)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E182A #184E3C
analogous
#4E1845 #4E182A #4E2118
triadic
#4E182A #2A4E18 #182A4E
tetradic
#4E182A #454E18 #184E3C #21184E
square
#4E182A #454E18 #184E3C #21184E
split-complementary
#4E182A #184E21 #18454E
monochromatic
#17070D #1F0A11 #4E182A #7D2643 #AC355C

Accessibility & contrast

On white

14.11
#4E182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E182A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E182A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E182A#FFFFFF#000000##FFFFFF
##4E182A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#55121F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e182a;
/* rgb */ color: rgb(78, 24, 42);
/* oklch */ color: oklch(30.1% 0.083 2.9);
Tailwind
colors: {
  custom: {
    50: '#835863',
    500: '#4e182a',
    950: '#000000',
  },
}
SCSS
$custom: #4e182a;
$custom-light: #835863;
$custom-dark: #000000;
JSON
{
  "hex": "#4e182a",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 340,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30085,
    "c": 0.08324,
    "h": 2.9
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#4E182A
secondary
#3D856D
accent
#DCAC4B
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E182A

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

Preview Lab → · Contrast checker → · Palette generator →

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