#4D1728#4D1728

#4D1728 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.083 H 4.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#4D1728
RGBrgb(77, 23, 40)
HSLhsl(341, 54%, 20%)
HSVhsv(341, 70%, 30%)
CMYKcmyk(0%, 70.1%, 48.1%, 69.8%)
CIE-LABlab(17.20, 27.12, 2.26)
CIE-LCHlch(17.20, 27.21, 4.76°)
OKLaboklab(29.69% 0.0828 0.0061)
OKLCHoklch(29.69% 0.083 4.2)
XYZxyz(3.7502, 2.3442, 2.2621)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1728 #174D3C
analogous
#4D1743 #4D1728 #4D2117
triadic
#4D1728 #284D17 #17284D
tetradic
#4D1728 #434D17 #174D3C #21174D
square
#4D1728 #434D17 #174D3C #21174D
split-complementary
#4D1728 #174D21 #17434D
monochromatic
#18070C #1E0910 #4D1728 #7C2540 #AB3359

Accessibility & contrast

On white

14.30
#4D1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D1728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1728
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1728#FFFFFF#000000##FFFFFF
##4D17281.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#302E27
Tritanopia (blue-blind)
#54101E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1728;
/* rgb */ color: rgb(77, 23, 40);
/* oklch */ color: oklch(29.7% 0.083 4.2);
Tailwind
colors: {
  custom: {
    50: '#825861',
    500: '#4d1728',
    950: '#000000',
  },
}
SCSS
$custom: #4d1728;
$custom-light: #825861;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1728",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 341.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29692,
    "c": 0.08299,
    "h": 4.2
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#4D1728
secondary
#3C846D
accent
#DDAF4A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D1728

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

Preview Lab → · Contrast checker → · Palette generator →

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