#4E0727#4E0727

#4E0727 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.1% C 0.104 H 0.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#4E0727
RGBrgb(78, 7, 39)
HSLhsl(333, 84%, 17%)
HSVhsv(333, 91%, 31%)
CMYKcmyk(0%, 91%, 50%, 69.4%)
CIE-LABlab(15.05, 33.82, -0.10)
CIE-LCHlch(15.05, 33.82, 359.83°)
OKLaboklab(28.14% 0.1041 0.0001)
OKLCHoklch(28.14% 0.104 0.1)
XYZxyz(3.5844, 1.9186, 2.1007)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0727 #074E2E
analogous
#4E074B #4E0727 #4E0B07
triadic
#4E0727 #274E07 #07274E
tetradic
#4E0727 #4B4E07 #074E2E #0B074E
square
#4E0727 #4B4E07 #074E2E #0B074E
split-complementary
#4E0727 #074E0B #074B4E
monochromatic
#1C030E #1C030E #4E0727 #860C43 #BE115F

Accessibility & contrast

On white

15.18
#4E0727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4E0727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0727
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0727#FFFFFF#000000##FFFFFF
##4E07271.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D28
Deuteranopia (green-blind)
#2C2B25
Tritanopia (blue-blind)
#550016
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0727;
/* rgb */ color: rgb(78, 7, 39);
/* oklch */ color: oklch(28.1% 0.104 0.1);
Tailwind
colors: {
  custom: {
    50: '#845160',
    500: '#4e0727',
    950: '#000000',
  },
}
SCSS
$custom: #4e0727;
$custom-light: #845160;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0727",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 332.958,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.10405,
    "h": 0.1
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#4E0727
secondary
#258C5D
accent
#FA9E2E
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4E0727

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

Preview Lab → · Contrast checker → · Palette generator →

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