#4E0731#4E0731

#4E0731 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.109 H 350.7°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#4E0731
RGBrgb(78, 7, 49)
HSLhsl(325, 84%, 17%)
HSVhsv(325, 91%, 31%)
CMYKcmyk(0%, 91%, 37.2%, 69.4%)
CIE-LABlab(15.46, 34.97, -6.78)
CIE-LCHlch(15.46, 35.62, 349.03°)
OKLaboklab(28.56% 0.1074 -0.0176)
OKLCHoklch(28.56% 0.109 350.7)
XYZxyz(3.7725, 1.9939, 3.0913)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0731 #074E24
analogous
#48074E #4E0731 #4E070E
triadic
#4E0731 #314E07 #07314E
tetradic
#4E0731 #4E4807 #074E24 #070E4E
square
#4E0731 #4E4807 #074E24 #070E4E
split-complementary
#4E0731 #0E4E07 #074E48
monochromatic
#1C0312 #1C0312 #4E0731 #860C54 #BE1178

Accessibility & contrast

On white

15.02
#4E0731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4E0731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0731
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0731#FFFFFF#000000##FFFFFF
##4E07311.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151F32
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#55021B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e0731;
/* rgb */ color: rgb(78, 7, 49);
/* oklch */ color: oklch(28.6% 0.109 350.7);
Tailwind
colors: {
  custom: {
    50: '#835169',
    500: '#4e0731',
    950: '#000000',
  },
}
SCSS
$custom: #4e0731;
$custom-light: #835169;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0731",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 324.507,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28561,
    "c": 0.10881,
    "h": 350.7
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#4E0731
secondary
#258C4F
accent
#FA812E
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0206
muted
#7C787A

Preview Lab

Preview with #4E0731

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

Preview Lab → · Contrast checker → · Palette generator →

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