#4E1831#4E1831

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

Color values

HEX#4E1831
RGBrgb(78, 24, 49)
HSLhsl(332, 53%, 20%)
HSVhsv(332, 69%, 31%)
CMYKcmyk(0%, 69.2%, 37.2%, 69.4%)
CIE-LABlab(17.90, 28.14, -3.12)
CIE-LCHlch(17.90, 28.32, 353.68°)
OKLaboklab(30.35% 0.0859 -0.0079)
OKLCHoklch(30.35% 0.086 354.8)
XYZxyz(4.0231, 2.4952, 3.1749)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1831 #184E35
analogous
#4E184C #4E1831 #4E1A18
triadic
#4E1831 #314E18 #18314E
tetradic
#4E1831 #4C4E18 #184E35 #1A184E
square
#4E1831 #4C4E18 #184E35 #1A184E
split-complementary
#4E1831 #184E1A #184C4E
monochromatic
#17070F #1F0A14 #4E1831 #7D264E #AC356C

Accessibility & contrast

On white

14.01
#4E1831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E1831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1831
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1831#FFFFFF#000000##FFFFFF
##4E18311.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212632
Deuteranopia (green-blind)
#2F2F30
Tritanopia (blue-blind)
#541422
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1831;
/* rgb */ color: rgb(78, 24, 49);
/* oklch */ color: oklch(30.4% 0.086 354.8);
Tailwind
colors: {
  custom: {
    50: '#825969',
    500: '#4e1831',
    950: '#000000',
  },
}
SCSS
$custom: #4e1831;
$custom-light: #825969;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1831",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 332.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30352,
    "c": 0.08624,
    "h": 354.8
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#4E1831
secondary
#3D8564
accent
#DC994B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E1831

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

Preview Lab → · Contrast checker → · Palette generator →

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