#4E2837#4E2837

#4E2837 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.2% C 0.060 H 355.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4E2837
RGBrgb(78, 40, 55)
HSLhsl(336, 32%, 23%)
HSVhsv(336, 49%, 31%)
CMYKcmyk(0%, 48.7%, 29.5%, 69.4%)
CIE-LABlab(21.63, 19.89, -1.78)
CIE-LCHlch(21.63, 19.97, 354.89°)
OKLaboklab(33.22% 0.06 -0.0044)
OKLCHoklch(33.22% 0.06 355.8)
XYZxyz(4.5904, 3.4135, 4.0308)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2837 #284E3F
analogous
#4E284A #4E2837 #4E2C28
triadic
#4E2837 #374E28 #28374E
tetradic
#4E2837 #4A4E28 #284E3F #2C284E
square
#4E2837 #4A4E28 #284E3F #2C284E
split-complementary
#4E2837 #284E2C #284A4E
monochromatic
#140A0E #26131A #4E2837 #763D54 #9F5170

Accessibility & contrast

On white

12.48
#4E2837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E2837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2837
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2837#FFFFFF#000000##FFFFFF
##4E28371.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3038
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#53262D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2837;
/* rgb */ color: rgb(78, 40, 55);
/* oklch */ color: oklch(33.2% 0.060 355.8);
Tailwind
colors: {
  custom: {
    50: '#81636d',
    500: '#4e2837',
    950: '#000000',
  },
}
SCSS
$custom: #4e2837;
$custom-light: #81636d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2837",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 336.316,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.06019,
    "h": 355.8
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#4E2837
secondary
#51816E
accent
#C89F5F
background
#F8F5F6
surface
#EFEAEB
border
#CAC6C6
text
#0A0507
muted
#7C797A

Preview Lab

Preview with #4E2837

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

Preview Lab → · Contrast checker → · Palette generator →

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