#4E123C#4E123C

#4E123C is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.103 H 342.2°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4E123C
RGBrgb(78, 18, 60)
HSLhsl(318, 63%, 19%)
HSVhsv(318, 77%, 31%)
CMYKcmyk(0%, 76.9%, 23.1%, 69.4%)
CIE-LABlab(17.36, 32.60, -11.70)
CIE-LCHlch(17.36, 34.63, 340.26°)
OKLaboklab(30.12% 0.0978 -0.0314)
OKLCHoklch(30.12% 0.103 342.2)
XYZxyz(4.1739, 2.3790, 4.5135)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E123C #124E24
analogous
#42124E #4E123C #4E121E
triadic
#4E123C #3C4E12 #123C4E
tetradic
#4E123C #4E4212 #124E24 #121E4E
square
#4E123C #4E4212 #124E24 #121E4E
split-complementary
#4E123C #1E4E12 #124E42
monochromatic
#190613 #1C0716 #4E123C #801D62 #B12989

Accessibility & contrast

On white

14.23
#4E123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E123C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E123C#FFFFFF#000000##FFFFFF
##4E123C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243D
Deuteranopia (green-blind)
#2A2E3B
Tritanopia (blue-blind)
#531325
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e123c;
/* rgb */ color: rgb(78, 18, 60);
/* oklch */ color: oklch(30.1% 0.103 342.2);
Tailwind
colors: {
  custom: {
    50: '#825671',
    500: '#4e123c',
    950: '#000000',
  },
}
SCSS
$custom: #4e123c;
$custom-light: #825671;
$custom-dark: #000000;
JSON
{
  "hex": "#4e123c",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 318,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30116,
    "c": 0.10267,
    "h": 342.2
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#4E123C
secondary
#35874D
accent
#E67342
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E123C

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

Preview Lab → · Contrast checker → · Palette generator →

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