#4E1B3F#4E1B3F

#4E1B3F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.091 H 340.7°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4E1B3F
RGBrgb(78, 27, 63)
HSLhsl(318, 49%, 21%)
HSVhsv(318, 65%, 31%)
CMYKcmyk(0%, 65.4%, 19.2%, 69.4%)
CIE-LABlab(19.07, 28.80, -11.17)
CIE-LCHlch(19.07, 30.89, 338.81°)
OKLaboklab(31.41% 0.0855 -0.03)
OKLCHoklch(31.41% 0.091 340.7)
XYZxyz(4.4311, 2.7628, 5.0016)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B3F #1B4E2A
analogous
#431B4E #4E1B3F #4E1B25
triadic
#4E1B3F #3F4E1B #1B3F4E
tetradic
#4E1B3F #4E431B #1B4E2A #1B254E
square
#4E1B3F #4E431B #1B4E2A #1B254E
split-complementary
#4E1B3F #254E1B #1B4E43
monochromatic
#170812 #210B1A #4E1B3F #7B2B64 #A93A88

Accessibility & contrast

On white

13.53
#4E1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B3F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B3F#FFFFFF#000000##FFFFFF
##4E1B3F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2940
Deuteranopia (green-blind)
#2D313E
Tritanopia (blue-blind)
#531C2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1b3f;
/* rgb */ color: rgb(78, 27, 63);
/* oklch */ color: oklch(31.4% 0.091 340.7);
Tailwind
colors: {
  custom: {
    50: '#815b74',
    500: '#4e1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b3f;
$custom-light: #815b74;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b3f",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 317.647,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31414,
    "c": 0.09055,
    "h": 340.7
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#4E1B3F
secondary
#418455
accent
#D87850
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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