#4E1731#4E1731

#4E1731 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.2% C 0.088 H 354.4°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4E1731
RGBrgb(78, 23, 49)
HSLhsl(332, 54%, 20%)
HSVhsv(332, 71%, 31%)
CMYKcmyk(0%, 70.5%, 37.2%, 69.4%)
CIE-LABlab(17.71, 28.65, -3.39)
CIE-LCHlch(17.71, 28.85, 353.25°)
OKLaboklab(30.21% 0.0875 -0.0086)
OKLCHoklch(30.21% 0.088 354.4)
XYZxyz(4.0029, 2.4547, 3.1681)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1731 #174E34
analogous
#4E174D #4E1731 #4E1817
triadic
#4E1731 #314E17 #17314E
tetradic
#4E1731 #4D4E17 #174E34 #18174E
square
#4E1731 #4D4E17 #174E34 #18174E
split-complementary
#4E1731 #174E18 #174D4E
monochromatic
#18070F #1F0913 #4E1731 #7D254F #AD336C

Accessibility & contrast

On white

14.09
#4E1731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1731
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1731#FFFFFF#000000##FFFFFF
##4E17311.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202532
Deuteranopia (green-blind)
#2F2F30
Tritanopia (blue-blind)
#541322
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1731;
/* rgb */ color: rgb(78, 23, 49);
/* oklch */ color: oklch(30.2% 0.088 354.4);
Tailwind
colors: {
  custom: {
    50: '#825869',
    500: '#4e1731',
    950: '#000000',
  },
}
SCSS
$custom: #4e1731;
$custom-light: #825869;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1731",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 331.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30215,
    "c": 0.08787,
    "h": 354.4
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#4E1731
secondary
#3C8562
accent
#DE984A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E1731

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

Preview Lab → · Contrast checker → · Palette generator →

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