#4E1F45#4E1F45

#4E1F45 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.089 H 335.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4E1F45
RGBrgb(78, 31, 69)
HSLhsl(311, 43%, 21%)
HSVhsv(311, 60%, 31%)
CMYKcmyk(0%, 60.3%, 11.5%, 69.4%)
CIE-LABlab(20.16, 27.73, -13.61)
CIE-LCHlch(20.16, 30.89, 333.85°)
OKLaboklab(32.32% 0.0805 -0.0369)
OKLCHoklch(32.32% 0.089 335.4)
XYZxyz(4.7061, 3.0297, 5.9660)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F45 #1F4E28
analogous
#401F4E #4E1F45 #4E1F2E
triadic
#4E1F45 #454E1F #1F454E
tetradic
#4E1F45 #4E401F #1F4E28 #1F2E4E
square
#4E1F45 #4E401F #1F4E28 #1F2E4E
split-complementary
#4E1F45 #2E4E1F #1F4E40
monochromatic
#160913 #220E1E #4E1F45 #7A306C #A64292

Accessibility & contrast

On white

13.08
#4E1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F45
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F45#FFFFFF#000000##FFFFFF
##4E1F451.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#2D3344
Tritanopia (blue-blind)
#52212F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1f45;
/* rgb */ color: rgb(78, 31, 69);
/* oklch */ color: oklch(32.3% 0.089 335.4);
Tailwind
colors: {
  custom: {
    50: '#815d78',
    500: '#4e1f45',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f45;
$custom-light: #815d78;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f45",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 311.489,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.08853,
    "h": 335.4
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#4E1F45
secondary
#468352
accent
#D36D55
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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