#4D1827#4D1827

#4D1827 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.8% C 0.081 H 6.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4D1827
RGBrgb(77, 24, 39)
HSLhsl(343, 52%, 20%)
HSVhsv(343, 69%, 30%)
CMYKcmyk(0%, 68.8%, 49.4%, 69.8%)
CIE-LABlab(17.36, 26.49, 3.20)
CIE-LCHlch(17.36, 26.68, 6.89°)
OKLaboklab(29.8% 0.0807 0.0085)
OKLCHoklch(29.8% 0.081 6)
XYZxyz(3.7537, 2.3780, 2.1804)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1827 #184D3E
analogous
#4D1842 #4D1827 #4D2418
triadic
#4D1827 #274D18 #18274D
tetradic
#4D1827 #424D18 #184D3E #24184D
square
#4D1827 #424D18 #184D3E #24184D
split-complementary
#4D1827 #184D24 #18424D
monochromatic
#17070C #1E090F #4D1827 #7C273F #AA3556

Accessibility & contrast

On white

14.23
#4D1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4D1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1827
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1827#FFFFFF#000000##FFFFFF
##4D18271.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#312F26
Tritanopia (blue-blind)
#54111E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d1827;
/* rgb */ color: rgb(77, 24, 39);
/* oklch */ color: oklch(29.8% 0.081 6.0);
Tailwind
colors: {
  custom: {
    50: '#825860',
    500: '#4d1827',
    950: '#000000',
  },
}
SCSS
$custom: #4d1827;
$custom-light: #825860;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1827",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 343.019,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.298,
    "c": 0.08115,
    "h": 6
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#4D1827
secondary
#3D8470
accent
#DCB34C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D1827

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

Preview Lab → · Contrast checker → · Palette generator →

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