#4D183F#4D183F

#4D183F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.095 H 339.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#4D183F
RGBrgb(77, 24, 63)
HSLhsl(316, 52%, 20%)
HSVhsv(316, 69%, 30%)
CMYKcmyk(0%, 68.8%, 18.2%, 69.8%)
CIE-LABlab(18.32, 30.01, -12.33)
CIE-LCHlch(18.32, 32.44, 337.66°)
OKLaboklab(30.83% 0.0888 -0.0332)
OKLCHoklch(30.83% 0.095 339.5)
XYZxyz(4.2845, 2.5903, 4.9760)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D183F #184D26
analogous
#41184D #4D183F #4D1825
triadic
#4D183F #3F4D18 #183F4D
tetradic
#4D183F #4D4118 #184D26 #18254D
square
#4D183F #4D4118 #184D26 #18254D
split-complementary
#4D183F #254D18 #184D41
monochromatic
#170713 #1E0919 #4D183F #7C2765 #AA358B

Accessibility & contrast

On white

13.83
#4D183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D183F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D183F#FFFFFF#000000##FFFFFF
##4D183F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2740
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#521929
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d183f;
/* rgb */ color: rgb(77, 24, 63);
/* oklch */ color: oklch(30.8% 0.095 339.5);
Tailwind
colors: {
  custom: {
    50: '#815974',
    500: '#4d183f',
    950: '#000000',
  },
}
SCSS
$custom: #4d183f;
$custom-light: #815974;
$custom-dark: #000000;
JSON
{
  "hex": "#4d183f",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 315.849,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3083,
    "c": 0.09485,
    "h": 339.5
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#4D183F
secondary
#3D8450
accent
#DC724C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0408
muted
#7C797B

Preview Lab

Preview with #4D183F

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

Preview Lab → · Contrast checker → · Palette generator →

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