#4E123F#4E123F

#4E123F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.105 H 339.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#4E123F
RGBrgb(78, 18, 63)
HSLhsl(315, 63%, 19%)
HSVhsv(315, 77%, 31%)
CMYKcmyk(0%, 76.9%, 19.2%, 69.4%)
CIE-LABlab(17.51, 33.09, -13.56)
CIE-LCHlch(17.51, 35.76, 337.71°)
OKLaboklab(30.28% 0.0984 -0.0366)
OKLCHoklch(30.28% 0.105 339.6)
XYZxyz(4.2555, 2.4116, 4.9430)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E123F #124E21
analogous
#3F124E #4E123F #4E1221
triadic
#4E123F #3F4E12 #123F4E
tetradic
#4E123F #4E3F12 #124E21 #12214E
square
#4E123F #4E3F12 #124E21 #12214E
split-complementary
#4E123F #214E12 #124E3F
monochromatic
#190614 #1C0717 #4E123F #801D67 #B1298F

Accessibility & contrast

On white

14.17
#4E123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E123F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E123F#FFFFFF#000000##FFFFFF
##4E123F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162540
Deuteranopia (green-blind)
#292E3E
Tritanopia (blue-blind)
#531426
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e123f;
/* rgb */ color: rgb(78, 18, 63);
/* oklch */ color: oklch(30.3% 0.105 339.6);
Tailwind
colors: {
  custom: {
    50: '#825674',
    500: '#4e123f',
    950: '#000000',
  },
}
SCSS
$custom: #4e123f;
$custom-light: #825674;
$custom-dark: #000000;
JSON
{
  "hex": "#4e123f",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 315,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30276,
    "c": 0.10495,
    "h": 339.6
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#4E123F
secondary
#358749
accent
#E66B42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E123F

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

Preview Lab → · Contrast checker → · Palette generator →

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