#4E123A#4E123A

#4E123A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.101 H 344.0°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4E123A
RGBrgb(78, 18, 58)
HSLhsl(320, 63%, 19%)
HSVhsv(320, 77%, 31%)
CMYKcmyk(0%, 76.9%, 25.6%, 69.4%)
CIE-LABlab(17.26, 32.29, -10.44)
CIE-LCHlch(17.26, 33.93, 342.08°)
OKLaboklab(30.01% 0.0973 -0.0278)
OKLCHoklch(30.01% 0.101 344)
XYZxyz(4.1221, 2.3582, 4.2403)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E123A #124E26
analogous
#44124E #4E123A #4E121C
triadic
#4E123A #3A4E12 #123A4E
tetradic
#4E123A #4E4412 #124E26 #121C4E
square
#4E123A #4E4412 #124E26 #121C4E
split-complementary
#4E123A #1C4E12 #124E44
monochromatic
#190612 #1C0715 #4E123A #801D5F #B12984

Accessibility & contrast

On white

14.27
#4E123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E123A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E123A#FFFFFF#000000##FFFFFF
##4E123A1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243B
Deuteranopia (green-blind)
#2A2E39
Tritanopia (blue-blind)
#541224
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e123a;
/* rgb */ color: rgb(78, 18, 58);
/* oklch */ color: oklch(30.0% 0.101 344.0);
Tailwind
colors: {
  custom: {
    50: '#825670',
    500: '#4e123a',
    950: '#000000',
  },
}
SCSS
$custom: #4e123a;
$custom-light: #825670;
$custom-dark: #000000;
JSON
{
  "hex": "#4e123a",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 320,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.10121,
    "h": 344
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#4E123A
secondary
#358750
accent
#E67942
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E123A

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

Preview Lab → · Contrast checker → · Palette generator →

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