#4E123E#4E123E

#4E123E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.104 H 340.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4E123E
RGBrgb(78, 18, 62)
HSLhsl(316, 63%, 19%)
HSVhsv(316, 77%, 31%)
CMYKcmyk(0%, 76.9%, 20.5%, 69.4%)
CIE-LABlab(17.46, 32.92, -12.94)
CIE-LCHlch(17.46, 35.38, 338.54°)
OKLaboklab(30.22% 0.0982 -0.0349)
OKLCHoklch(30.22% 0.104 340.4)
XYZxyz(4.2278, 2.4005, 4.7972)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E123E #124E22
analogous
#40124E #4E123E #4E1220
triadic
#4E123E #3E4E12 #123E4E
tetradic
#4E123E #4E4012 #124E22 #12204E
square
#4E123E #4E4012 #124E22 #12204E
split-complementary
#4E123E #204E12 #124E40
monochromatic
#190614 #1C0716 #4E123E #801D66 #B1298D

Accessibility & contrast

On white

14.19
#4E123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E123E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E123E#FFFFFF#000000##FFFFFF
##4E123E1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#292E3D
Tritanopia (blue-blind)
#531426
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e123e;
/* rgb */ color: rgb(78, 18, 62);
/* oklch */ color: oklch(30.2% 0.104 340.4);
Tailwind
colors: {
  custom: {
    50: '#825673',
    500: '#4e123e',
    950: '#000000',
  },
}
SCSS
$custom: #4e123e;
$custom-light: #825673;
$custom-dark: #000000;
JSON
{
  "hex": "#4e123e",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 316,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30222,
    "c": 0.10418,
    "h": 340.4
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#4E123E
secondary
#35874B
accent
#E66E42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E123E

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

Preview Lab → · Contrast checker → · Palette generator →

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