#4E1243#4E1243

#4E1243 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.108 H 336.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4E1243
RGBrgb(78, 18, 67)
HSLhsl(311, 63%, 19%)
HSVhsv(311, 77%, 31%)
CMYKcmyk(0%, 76.9%, 14.1%, 69.4%)
CIE-LABlab(17.73, 33.77, -16.02)
CIE-LCHlch(17.73, 37.37, 334.62°)
OKLaboklab(30.5% 0.099 -0.0436)
OKLCHoklch(30.5% 0.108 336.2)
XYZxyz(4.3714, 2.4579, 5.5533)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1243 #124E1D
analogous
#3B124E #4E1243 #4E1225
triadic
#4E1243 #434E12 #12434E
tetradic
#4E1243 #4E3B12 #124E1D #12254E
square
#4E1243 #4E3B12 #124E1D #12254E
split-complementary
#4E1243 #254E12 #124E3B
monochromatic
#190615 #1C0718 #4E1243 #801D6E #B12998

Accessibility & contrast

On white

14.08
#4E1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1243
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1243#FFFFFF#000000##FFFFFF
##4E12431.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132644
Deuteranopia (green-blind)
#272F42
Tritanopia (blue-blind)
#521628
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1243;
/* rgb */ color: rgb(78, 18, 67);
/* oklch */ color: oklch(30.5% 0.108 336.2);
Tailwind
colors: {
  custom: {
    50: '#825677',
    500: '#4e1243',
    950: '#000000',
  },
}
SCSS
$custom: #4e1243;
$custom-light: #825677;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1243",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 311,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.10816,
    "h": 336.2
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#4E1243
secondary
#358744
accent
#E66042
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1243

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

Preview Lab → · Contrast checker → · Palette generator →

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