#4D182F#4D182F

#4D182F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.084 H 356.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#4D182F
RGBrgb(77, 24, 47)
HSLhsl(334, 52%, 20%)
HSVhsv(334, 69%, 30%)
CMYKcmyk(0%, 68.8%, 39%, 69.8%)
CIE-LABlab(17.63, 27.51, -2.11)
CIE-LCHlch(17.63, 27.59, 355.61°)
OKLaboklab(30.09% 0.084 -0.0052)
OKLCHoklch(30.09% 0.084 356.5)
XYZxyz(3.9005, 2.4367, 2.9537)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D182F #184D36
analogous
#4D184A #4D182F #4D1B18
triadic
#4D182F #2F4D18 #182F4D
tetradic
#4D182F #4A4D18 #184D36 #1B184D
square
#4D182F #4A4D18 #184D36 #1B184D
split-complementary
#4D182F #184D1B #184A4D
monochromatic
#17070E #1E0913 #4D182F #7C274B #AA3568

Accessibility & contrast

On white

14.12
#4D182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D182F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D182F#FFFFFF#000000##FFFFFF
##4D182F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#531421
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d182f;
/* rgb */ color: rgb(77, 24, 47);
/* oklch */ color: oklch(30.1% 0.084 356.5);
Tailwind
colors: {
  custom: {
    50: '#815867',
    500: '#4d182f',
    950: '#000000',
  },
}
SCSS
$custom: #4d182f;
$custom-light: #815867;
$custom-dark: #000000;
JSON
{
  "hex": "#4d182f",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 333.962,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30092,
    "c": 0.08414,
    "h": 356.5
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#4D182F
secondary
#3D8465
accent
#DC9D4C
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4D182F

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

Preview Lab → · Contrast checker → · Palette generator →

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