#4E1845#4E1845

#4E1845 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.101 H 334.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#4E1845
RGBrgb(78, 24, 69)
HSLhsl(310, 53%, 20%)
HSVhsv(310, 69%, 31%)
CMYKcmyk(0%, 69.2%, 11.5%, 69.4%)
CIE-LABlab(18.81, 31.40, -15.71)
CIE-LCHlch(18.81, 35.11, 333.42°)
OKLaboklab(31.32% 0.0912 -0.0428)
OKLCHoklch(31.32% 0.101 334.9)
XYZxyz(4.5427, 2.7030, 5.9115)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1845 #184E21
analogous
#3C184E #4E1845 #4E182A
triadic
#4E1845 #454E18 #18454E
tetradic
#4E1845 #4E3C18 #184E21 #182A4E
square
#4E1845 #4E3C18 #184E21 #182A4E
split-complementary
#4E1845 #2A4E18 #184E3C
monochromatic
#170715 #1F0A1C #4E1845 #7D266E #AC3598

Accessibility & contrast

On white

13.63
#4E1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1845
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1845#FFFFFF#000000##FFFFFF
##4E18451.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182946
Deuteranopia (green-blind)
#293144
Tritanopia (blue-blind)
#521C2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1845;
/* rgb */ color: rgb(78, 24, 69);
/* oklch */ color: oklch(31.3% 0.101 334.9);
Tailwind
colors: {
  custom: {
    50: '#825979',
    500: '#4e1845',
    950: '#000000',
  },
}
SCSS
$custom: #4e1845;
$custom-light: #825979;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1845",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 310,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31325,
    "c": 0.10077,
    "h": 334.9
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#4E1845
secondary
#3D8549
accent
#DC644B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1845

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

Preview Lab → · Contrast checker → · Palette generator →

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