#4E0F26#4E0F26

#4E0F26 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.095 H 3.3°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#4E0F26
RGBrgb(78, 15, 38)
HSLhsl(338, 68%, 18%)
HSVhsv(338, 81%, 31%)
CMYKcmyk(0%, 80.8%, 51.3%, 69.4%)
CIE-LABlab(16.01, 30.90, 2.02)
CIE-LCHlch(16.01, 30.97, 3.74°)
OKLaboklab(28.83% 0.0946 0.0055)
OKLCHoklch(28.83% 0.095 3.3)
XYZxyz(3.6629, 2.1018, 2.0461)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F26 #0F4E37
analogous
#4E0F45 #4E0F26 #4E170F
triadic
#4E0F26 #264E0F #0F264E
tetradic
#4E0F26 #454E0F #0F4E37 #170F4E
square
#4E0F26 #454E0F #0F4E37 #170F4E
split-complementary
#4E0F26 #0F4E17 #0F454E
monochromatic
#1A050D #1B050D #4E0F26 #81193F #B52358

Accessibility & contrast

On white

14.79
#4E0F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4E0F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F26
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F26#FFFFFF#000000##FFFFFF
##4E0F261.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#2E2C25
Tritanopia (blue-blind)
#550419
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0f26;
/* rgb */ color: rgb(78, 15, 38);
/* oklch */ color: oklch(28.8% 0.095 3.3);
Tailwind
colors: {
  custom: {
    50: '#835460',
    500: '#4e0f26',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f26;
$custom-light: #835460;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f26",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 338.095,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28831,
    "c": 0.09477,
    "h": 3.3
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#4E0F26
secondary
#318868
accent
#EBAB3D
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4E0F26

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

Preview Lab → · Contrast checker → · Palette generator →

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