#4E1F38#4E1F38

#4E1F38 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.7% C 0.078 H 349.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4E1F38
RGBrgb(78, 31, 56)
HSLhsl(328, 43%, 21%)
HSVhsv(328, 60%, 31%)
CMYKcmyk(0%, 60.3%, 28.2%, 69.4%)
CIE-LABlab(19.58, 25.43, -5.52)
CIE-LCHlch(19.58, 26.02, 347.75°)
OKLaboklab(31.69% 0.0767 -0.0144)
OKLCHoklch(31.69% 0.078 349.4)
XYZxyz(4.3458, 2.8856, 4.0687)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F38 #1F4E35
analogous
#4D1F4E #4E1F38 #4E1F21
triadic
#4E1F38 #384E1F #1F384E
tetradic
#4E1F38 #4E4D1F #1F4E35 #1F214E
square
#4E1F38 #4E4D1F #1F4E35 #1F214E
split-complementary
#4E1F38 #214E1F #1F4E4D
monochromatic
#160910 #220E19 #4E1F38 #7A3057 #A64277

Accessibility & contrast

On white

13.32
#4E1F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F38
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F38#FFFFFF#000000##FFFFFF
##4E1F381.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#313237
Tritanopia (blue-blind)
#531D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1f38;
/* rgb */ color: rgb(78, 31, 56);
/* oklch */ color: oklch(31.7% 0.078 349.4);
Tailwind
colors: {
  custom: {
    50: '#815d6e',
    500: '#4e1f38',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f38;
$custom-light: #815d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f38",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 328.085,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.07807,
    "h": 349.4
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#4E1F38
secondary
#468362
accent
#D39055
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4E1F38

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

Preview Lab → · Contrast checker → · Palette generator →

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