#4E0127#4E0127

#4E0127 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.6% C 0.111 H 358.7°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#4E0127
RGBrgb(78, 1, 39)
HSLhsl(330, 97%, 15%)
HSVhsv(330, 99%, 31%)
CMYKcmyk(0%, 98.7%, 50%, 69.4%)
CIE-LABlab(14.34, 35.90, -1.15)
CIE-LCHlch(14.34, 35.91, 358.16°)
OKLaboklab(27.62% 0.1108 -0.0026)
OKLCHoklch(27.62% 0.111 358.7)
XYZxyz(3.5192, 1.7884, 2.0789)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0127 #014E28
analogous
#4E014D #4E0127 #4E0201
triadic
#4E0127 #274E01 #01274E
tetradic
#4E0127 #4D4E01 #014E28 #02014E
square
#4E0127 #4D4E01 #014E28 #02014E
split-complementary
#4E0127 #014E02 #014D4E
monochromatic
#1E000F #1E000F #4E0127 #8A0245 #C70363

Accessibility & contrast

On white

15.47
#4E0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#4E0127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0127
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0127#FFFFFF#000000##FFFFFF
##4E01271.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B28
Deuteranopia (green-blind)
#2A2925
Tritanopia (blue-blind)
#560013
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #4e0127;
/* rgb */ color: rgb(78, 1, 39);
/* oklch */ color: oklch(27.6% 0.111 358.7);
Tailwind
colors: {
  custom: {
    50: '#844e60',
    500: '#4e0127',
    950: '#000000',
  },
}
SCSS
$custom: #4e0127;
$custom-light: #844e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0127",
  "rgb": {
    "r": 78,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 330.39,
    "s": 97.468,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27615,
    "c": 0.11081,
    "h": 358.7
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#4E0127
secondary
#1B9056
accent
#FF9529
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4E0127

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

Preview Lab → · Contrast checker → · Palette generator →

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