#4E0126#4E0126

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

Color values

HEX#4E0126
RGBrgb(78, 1, 38)
HSLhsl(331, 97%, 15%)
HSVhsv(331, 99%, 31%)
CMYKcmyk(0%, 98.7%, 51.3%, 69.4%)
CIE-LABlab(14.30, 35.80, -0.47)
CIE-LCHlch(14.30, 35.80, 359.25°)
OKLaboklab(27.58% 0.1104 -0.0008)
OKLCHoklch(27.58% 0.11 359.6)
XYZxyz(3.5029, 1.7819, 1.9928)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0126 #014E29
analogous
#4E014C #4E0126 #4E0301
triadic
#4E0126 #264E01 #01264E
tetradic
#4E0126 #4C4E01 #014E29 #03014E
square
#4E0126 #4C4E01 #014E29 #03014E
split-complementary
#4E0126 #014E03 #014C4E
monochromatic
#1E000F #1E000F #4E0126 #8A0243 #C70361

Accessibility & contrast

On white

15.48
#4E0126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0126
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0126#FFFFFF#000000##FFFFFF
##4E01261.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e0126;
/* rgb */ color: rgb(78, 1, 38);
/* oklch */ color: oklch(27.6% 0.110 359.6);
Tailwind
colors: {
  custom: {
    50: '#844e60',
    500: '#4e0126',
    950: '#000000',
  },
}
SCSS
$custom: #4e0126;
$custom-light: #844e60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0126",
  "rgb": {
    "r": 78,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 331.169,
    "s": 97.468,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27576,
    "c": 0.11041,
    "h": 359.6
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#4E0126
secondary
#1B9058
accent
#FF9829
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0204
muted
#7D7879

Preview Lab

Preview with #4E0126

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

Preview Lab → · Contrast checker → · Palette generator →

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