#4E2138#4E2138

#4E2138 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.0% C 0.074 H 350.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#4E2138
RGBrgb(78, 33, 56)
HSLhsl(329, 41%, 22%)
HSVhsv(329, 58%, 31%)
CMYKcmyk(0%, 57.7%, 28.2%, 69.4%)
CIE-LABlab(20.02, 24.28, -4.86)
CIE-LCHlch(20.02, 24.76, 348.67°)
OKLaboklab(32.02% 0.0732 -0.0126)
OKLCHoklch(32.02% 0.074 350.2)
XYZxyz(4.3997, 2.9933, 4.0867)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2138 #214E37
analogous
#4E214E #4E2138 #4E2122
triadic
#4E2138 #384E21 #21384E
tetradic
#4E2138 #4E4E21 #214E37 #21224E
square
#4E2138 #4E4E21 #214E37 #21224E
split-complementary
#4E2138 #224E21 #214E4E
monochromatic
#16090F #230F19 #4E2138 #793357 #A44576

Accessibility & contrast

On white

13.14
#4E2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2138
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2138#FFFFFF#000000##FFFFFF
##4E21381.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#323337
Tritanopia (blue-blind)
#531F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e2138;
/* rgb */ color: rgb(78, 33, 56);
/* oklch */ color: oklch(32.0% 0.074 350.2);
Tailwind
colors: {
  custom: {
    50: '#815e6e',
    500: '#4e2138',
    950: '#000000',
  },
}
SCSS
$custom: #4e2138;
$custom-light: #815e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2138",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 329.333,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32019,
    "c": 0.07431,
    "h": 350.2
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#4E2138
secondary
#498265
accent
#D09357
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4E2138

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

Preview Lab → · Contrast checker → · Palette generator →

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