#4D182D#4D182D

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

Color values

HEX#4D182D
RGBrgb(77, 24, 45)
HSLhsl(336, 52%, 20%)
HSVhsv(336, 69%, 30%)
CMYKcmyk(0%, 68.8%, 41.6%, 69.8%)
CIE-LABlab(17.56, 27.24, -0.79)
CIE-LCHlch(17.56, 27.25, 358.33°)
OKLaboklab(30.01% 0.0832 -0.0017)
OKLCHoklch(30.01% 0.083 358.8)
XYZxyz(3.8611, 2.4209, 2.7461)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D182D #184D38
analogous
#4D1848 #4D182D #4D1D18
triadic
#4D182D #2D4D18 #182D4D
tetradic
#4D182D #484D18 #184D38 #1D184D
square
#4D182D #484D18 #184D38 #1D184D
split-complementary
#4D182D #184D1D #18484D
monochromatic
#17070E #1E0912 #4D182D #7C2748 #AA3564

Accessibility & contrast

On white

14.15
#4D182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D182D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D182D#FFFFFF#000000##FFFFFF
##4D182D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#541320
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d182d;
/* rgb */ color: rgb(77, 24, 45);
/* oklch */ color: oklch(30.0% 0.083 358.8);
Tailwind
colors: {
  custom: {
    50: '#825865',
    500: '#4d182d',
    950: '#000000',
  },
}
SCSS
$custom: #4d182d;
$custom-light: #825865;
$custom-dark: #000000;
JSON
{
  "hex": "#4d182d",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 336.226,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.08323,
    "h": 358.8
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#4D182D
secondary
#3D8468
accent
#DCA34C
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4D182D

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

Preview Lab → · Contrast checker → · Palette generator →

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