#4D1A2F#4D1A2F

#4D1A2F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.081 H 357.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#4D1A2F
RGBrgb(77, 26, 47)
HSLhsl(335, 50%, 20%)
HSVhsv(335, 66%, 30%)
CMYKcmyk(0%, 66.2%, 39%, 69.8%)
CIE-LABlab(18.02, 26.46, -1.54)
CIE-LCHlch(18.02, 26.50, 356.67°)
OKLaboklab(30.38% 0.0807 -0.0037)
OKLCHoklch(30.38% 0.081 357.4)
XYZxyz(3.9433, 2.5222, 2.9679)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1A2F #1A4D38
analogous
#4D1A49 #4D1A2F #4D1E1A
triadic
#4D1A2F #2F4D1A #1A2F4D
tetradic
#4D1A2F #494D1A #1A4D38 #1E1A4D
square
#4D1A2F #494D1A #1A4D38 #1E1A4D
split-complementary
#4D1A2F #1A4D1E #1A494D
monochromatic
#17080E #1F0B13 #4D1A2F #7B294B #A93967

Accessibility & contrast

On white

13.96
#4D1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D1A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1A2F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1A2F#FFFFFF#000000##FFFFFF
##4D1A2F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#531622
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d1a2f;
/* rgb */ color: rgb(77, 26, 47);
/* oklch */ color: oklch(30.4% 0.081 357.4);
Tailwind
colors: {
  custom: {
    50: '#815a67',
    500: '#4d1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #4d1a2f;
$custom-light: #815a67;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1a2f",
  "rgb": {
    "r": 77,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 335.294,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30381,
    "c": 0.08079,
    "h": 357.4
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#4D1A2F
secondary
#408367
accent
#D9A04F
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4D1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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