#4E1945#4E1945

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

Color values

HEX#4E1945
RGBrgb(78, 25, 69)
HSLhsl(310, 51%, 20%)
HSVhsv(310, 68%, 31%)
CMYKcmyk(0%, 67.9%, 11.5%, 69.4%)
CIE-LABlab(18.99, 30.90, -15.43)
CIE-LCHlch(18.99, 34.54, 333.47°)
OKLaboklab(31.46% 0.0898 -0.042)
OKLCHoklch(31.46% 0.099 334.9)
XYZxyz(4.5637, 2.7450, 5.9185)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1945 #194E22
analogous
#3C194E #4E1945 #4E192A
triadic
#4E1945 #454E19 #19454E
tetradic
#4E1945 #4E3C19 #194E22 #192A4E
square
#4E1945 #4E3C19 #194E22 #192A4E
split-complementary
#4E1945 #2A4E19 #194E3C
monochromatic
#170714 #200A1C #4E1945 #7C286E #AB3797

Accessibility & contrast

On white

13.56
#4E1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1945
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1945#FFFFFF#000000##FFFFFF
##4E19451.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1945;
/* rgb */ color: rgb(78, 25, 69);
/* oklch */ color: oklch(31.5% 0.099 334.9);
Tailwind
colors: {
  custom: {
    50: '#825a79',
    500: '#4e1945',
    950: '#000000',
  },
}
SCSS
$custom: #4e1945;
$custom-light: #825a79;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1945",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 310.189,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31456,
    "c": 0.09912,
    "h": 334.9
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#4E1945
secondary
#3E844A
accent
#DB654D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1945

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

Preview Lab → · Contrast checker → · Palette generator →

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