#4E1027#4E1027

#4E1027 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.094 H 2.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4E1027
RGBrgb(78, 16, 39)
HSLhsl(338, 66%, 18%)
HSVhsv(338, 79%, 31%)
CMYKcmyk(0%, 79.5%, 50%, 69.4%)
CIE-LABlab(16.19, 30.60, 1.55)
CIE-LCHlch(16.19, 30.64, 2.91°)
OKLaboklab(28.97% 0.0937 0.0043)
OKLCHoklch(28.97% 0.094 2.6)
XYZxyz(3.6937, 2.1372, 2.1371)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1027 #104E37
analogous
#4E1046 #4E1027 #4E1810
triadic
#4E1027 #274E10 #10274E
tetradic
#4E1027 #464E10 #104E37 #18104E
square
#4E1027 #464E10 #104E37 #18104E
split-complementary
#4E1027 #104E18 #10464E
monochromatic
#19050D #1B060E #4E1027 #811A40 #B4255A

Accessibility & contrast

On white

14.71
#4E1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4E1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1027
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1027#FFFFFF#000000##FFFFFF
##4E10271.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2028
Deuteranopia (green-blind)
#2E2D26
Tritanopia (blue-blind)
#55061A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e1027;
/* rgb */ color: rgb(78, 16, 39);
/* oklch */ color: oklch(29.0% 0.094 2.6);
Tailwind
colors: {
  custom: {
    50: '#835460',
    500: '#4e1027',
    950: '#000000',
  },
}
SCSS
$custom: #4e1027;
$custom-light: #835460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1027",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 337.742,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28974,
    "c": 0.09382,
    "h": 2.6
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#4E1027
secondary
#328868
accent
#E9AA3F
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1027

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

Preview Lab → · Contrast checker → · Palette generator →

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