#4E1B2F#4E1B2F

#4E1B2F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.080 H 358.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4E1B2F
RGBrgb(78, 27, 47)
HSLhsl(336, 49%, 21%)
HSVhsv(336, 65%, 31%)
CMYKcmyk(0%, 65.4%, 39.7%, 69.4%)
CIE-LABlab(18.41, 26.30, -0.95)
CIE-LCHlch(18.41, 26.32, 357.94°)
OKLaboklab(30.71% 0.0802 -0.0021)
OKLCHoklch(30.71% 0.08 358.5)
XYZxyz(4.0471, 2.6092, 2.9793)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B2F #1B4E3A
analogous
#4E1B48 #4E1B2F #4E211B
triadic
#4E1B2F #2F4E1B #1B2F4E
tetradic
#4E1B2F #484E1B #1B4E3A #211B4E
square
#4E1B2F #484E1B #1B4E3A #211B4E
split-complementary
#4E1B2F #1B4E21 #1B484E
monochromatic
#17080E #210B14 #4E1B2F #7B2B4A #A93A66

Accessibility & contrast

On white

13.80
#4E1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B2F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B2F#FFFFFF#000000##FFFFFF
##4E1B2F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#541723
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1b2f;
/* rgb */ color: rgb(78, 27, 47);
/* oklch */ color: oklch(30.7% 0.080 358.5);
Tailwind
colors: {
  custom: {
    50: '#825a67',
    500: '#4e1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b2f;
$custom-light: #825a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b2f",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 336.471,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.08024,
    "h": 358.5
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#4E1B2F
secondary
#41846A
accent
#D8A350
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4E1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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