#4E152A#4E152A

#4E152A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.088 H 1.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#4E152A
RGBrgb(78, 21, 42)
HSLhsl(338, 58%, 19%)
HSVhsv(338, 73%, 31%)
CMYKcmyk(0%, 73.1%, 46.2%, 69.4%)
CIE-LABlab(17.10, 28.71, 0.71)
CIE-LCHlch(17.10, 28.72, 1.41°)
OKLaboklab(29.68% 0.0878 0.0022)
OKLCHoklch(29.68% 0.088 1.4)
XYZxyz(3.8282, 2.3237, 2.4370)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E152A #154E39
analogous
#4E1547 #4E152A #4E1D15
triadic
#4E152A #2A4E15 #152A4E
tetradic
#4E152A #474E15 #154E39 #1D154E
square
#4E152A #474E15 #154E39 #1D154E
split-complementary
#4E152A #154E1D #15474E
monochromatic
#18060D #1E0810 #4E152A #7E2244 #AE2F5E

Accessibility & contrast

On white

14.34
#4E152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E152A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E152A#FFFFFF#000000##FFFFFF
##4E152A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#302E29
Tritanopia (blue-blind)
#550E1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e152a;
/* rgb */ color: rgb(78, 21, 42);
/* oklch */ color: oklch(29.7% 0.088 1.4);
Tailwind
colors: {
  custom: {
    50: '#835763',
    500: '#4e152a',
    950: '#000000',
  },
}
SCSS
$custom: #4e152a;
$custom-light: #835763;
$custom-dark: #000000;
JSON
{
  "hex": "#4e152a",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 337.895,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.08786,
    "h": 1.4
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#4E152A
secondary
#39866A
accent
#E1A847
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E152A

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

Preview Lab → · Contrast checker → · Palette generator →

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