#4E1238#4E1238

#4E1238 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.100 H 345.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1238
RGBrgb(78, 18, 56)
HSLhsl(322, 63%, 19%)
HSVhsv(322, 77%, 31%)
CMYKcmyk(0%, 76.9%, 28.2%, 69.4%)
CIE-LABlab(17.17, 31.98, -9.17)
CIE-LCHlch(17.17, 33.27, 344.00°)
OKLaboklab(29.91% 0.0968 -0.0243)
OKLCHoklch(29.91% 0.1 345.9)
XYZxyz(4.0722, 2.3383, 3.9775)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1238 #124E28
analogous
#46124E #4E1238 #4E121A
triadic
#4E1238 #384E12 #12384E
tetradic
#4E1238 #4E4612 #124E28 #121A4E
square
#4E1238 #4E4612 #124E28 #121A4E
split-complementary
#4E1238 #1A4E12 #124E46
monochromatic
#190612 #1C0714 #4E1238 #801D5C #B1297F

Accessibility & contrast

On white

14.31
#4E1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1238
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1238#FFFFFF#000000##FFFFFF
##4E12381.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192439
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#541123
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1238;
/* rgb */ color: rgb(78, 18, 56);
/* oklch */ color: oklch(29.9% 0.100 345.9);
Tailwind
colors: {
  custom: {
    50: '#82566e',
    500: '#4e1238',
    950: '#000000',
  },
}
SCSS
$custom: #4e1238;
$custom-light: #82566e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1238",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 322,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29914,
    "c": 0.09982,
    "h": 345.9
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#4E1238
secondary
#358753
accent
#E67E42
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1238

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

Preview Lab → · Contrast checker → · Palette generator →

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