#4D1839#4D1839

#4D1839 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.090 H 345.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4D1839
RGBrgb(77, 24, 57)
HSLhsl(323, 52%, 20%)
HSVhsv(323, 69%, 30%)
CMYKcmyk(0%, 68.8%, 26%, 69.8%)
CIE-LABlab(18.04, 29.00, -8.57)
CIE-LCHlch(18.04, 30.24, 343.54°)
OKLaboklab(30.53% 0.0873 -0.0227)
OKLCHoklch(30.53% 0.09 345.4)
XYZxyz(4.1259, 2.5269, 4.1405)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1839 #184D2C
analogous
#47184D #4D1839 #4D181E
triadic
#4D1839 #394D18 #18394D
tetradic
#4D1839 #4D4718 #184D2C #181E4D
square
#4D1839 #4D4718 #184D2C #181E4D
split-complementary
#4D1839 #1E4D18 #184D47
monochromatic
#170711 #1E0916 #4D1839 #7C275C #AA357E

Accessibility & contrast

On white

13.95
#4D1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D1839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1839
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1839#FFFFFF#000000##FFFFFF
##4D18391.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D263A
Deuteranopia (green-blind)
#2D2F38
Tritanopia (blue-blind)
#521726
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1839;
/* rgb */ color: rgb(77, 24, 57);
/* oklch */ color: oklch(30.5% 0.090 345.4);
Tailwind
colors: {
  custom: {
    50: '#81596f',
    500: '#4d1839',
    950: '#000000',
  },
}
SCSS
$custom: #4d1839;
$custom-light: #81596f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1839",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 322.642,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30529,
    "c": 0.09022,
    "h": 345.4
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4D1839
secondary
#3D8458
accent
#DC824C
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4D1839

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

Preview Lab → · Contrast checker → · Palette generator →

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