#4D2138#4D2138

#4D2138 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 31.9% C 0.073 H 349.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4D2138
RGBrgb(77, 33, 56)
HSLhsl(329, 40%, 22%)
HSVhsv(329, 57%, 30%)
CMYKcmyk(0%, 57.1%, 27.3%, 69.8%)
CIE-LABlab(19.85, 23.90, -5.13)
CIE-LCHlch(19.85, 24.44, 347.87°)
OKLaboklab(31.86% 0.072 -0.0134)
OKLCHoklch(31.86% 0.073 349.5)
XYZxyz(4.3184, 2.9514, 4.0829)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2138 #214D36
analogous
#4C214D #4D2138 #4D2122
triadic
#4D2138 #384D21 #21384D
tetradic
#4D2138 #4D4C21 #214D36 #21224D
square
#4D2138 #4D4C21 #214D36 #21224D
split-complementary
#4D2138 #224D21 #214D4C
monochromatic
#150910 #220F19 #4D2138 #783357 #A34676

Accessibility & contrast

On white

13.21
#4D2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2138
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2138#FFFFFF#000000##FFFFFF
##4D21381.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#323337
Tritanopia (blue-blind)
#52202A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d2138;
/* rgb */ color: rgb(77, 33, 56);
/* oklch */ color: oklch(31.9% 0.073 349.5);
Tailwind
colors: {
  custom: {
    50: '#805e6e',
    500: '#4d2138',
    950: '#000000',
  },
}
SCSS
$custom: #4d2138;
$custom-light: #805e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2138",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 328.636,
    "s": 40,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31858,
    "c": 0.07318,
    "h": 349.5
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#4D2138
secondary
#498164
accent
#D09158
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4D2138

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

Preview Lab → · Contrast checker → · Palette generator →

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