#4E1829#4E1829

#4E1829 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.083 H 4.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4E1829
RGBrgb(78, 24, 41)
HSLhsl(341, 53%, 20%)
HSVhsv(341, 69%, 31%)
CMYKcmyk(0%, 69.2%, 47.4%, 69.4%)
CIE-LABlab(17.62, 27.11, 2.17)
CIE-LCHlch(17.62, 27.19, 4.57°)
OKLaboklab(30.05% 0.0827 0.0059)
OKLCHoklch(30.05% 0.083 4.1)
XYZxyz(3.8690, 2.4335, 2.3634)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1829 #184E3D
analogous
#4E1844 #4E1829 #4E2218
triadic
#4E1829 #294E18 #18294E
tetradic
#4E1829 #444E18 #184E3D #22184E
square
#4E1829 #444E18 #184E3D #22184E
split-complementary
#4E1829 #184E22 #18444E
monochromatic
#17070C #1F0A10 #4E1829 #7D2642 #AC355A

Accessibility & contrast

On white

14.13
#4E1829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1829
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1829#FFFFFF#000000##FFFFFF
##4E18291.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232529
Deuteranopia (green-blind)
#312F28
Tritanopia (blue-blind)
#55111F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1829;
/* rgb */ color: rgb(78, 24, 41);
/* oklch */ color: oklch(30.0% 0.083 4.1);
Tailwind
colors: {
  custom: {
    50: '#835862',
    500: '#4e1829',
    950: '#000000',
  },
}
SCSS
$custom: #4e1829;
$custom-light: #835862;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1829",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 341.111,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.08291,
    "h": 4.1
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#4E1829
secondary
#3D856E
accent
#DCAF4B
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1829

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

Preview Lab → · Contrast checker → · Palette generator →

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