#4D182A#4D182A

#4D182A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.082 H 2.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4D182A
RGBrgb(77, 24, 42)
HSLhsl(340, 52%, 20%)
HSVhsv(340, 69%, 30%)
CMYKcmyk(0%, 68.8%, 45.5%, 69.8%)
CIE-LABlab(17.45, 26.85, 1.20)
CIE-LCHlch(17.45, 26.88, 2.55°)
OKLaboklab(29.9% 0.082 0.0034)
OKLCHoklch(29.9% 0.082 2.4)
XYZxyz(3.8054, 2.3987, 2.4526)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D182A #184D3B
analogous
#4D1844 #4D182A #4D2118
triadic
#4D182A #2A4D18 #182A4D
tetradic
#4D182A #444D18 #184D3B #21184D
square
#4D182A #444D18 #184D3B #21184D
split-complementary
#4D182A #184D21 #18444D
monochromatic
#17070D #1E0911 #4D182A #7C2743 #AA355D

Accessibility & contrast

On white

14.19
#4D182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D182A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D182A#FFFFFF#000000##FFFFFF
##4D182A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#302F29
Tritanopia (blue-blind)
#54121F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d182a;
/* rgb */ color: rgb(77, 24, 42);
/* oklch */ color: oklch(29.9% 0.082 2.4);
Tailwind
colors: {
  custom: {
    50: '#825863',
    500: '#4d182a',
    950: '#000000',
  },
}
SCSS
$custom: #4d182a;
$custom-light: #825863;
$custom-dark: #000000;
JSON
{
  "hex": "#4d182a",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 339.623,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29904,
    "c": 0.08206,
    "h": 2.4
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#4D182A
secondary
#3D846C
accent
#DCAB4C
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D182A

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

Preview Lab → · Contrast checker → · Palette generator →

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