#4D0F27#4D0F27

#4D0F27 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.094 H 1.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4D0F27
RGBrgb(77, 15, 39)
HSLhsl(337, 67%, 18%)
HSVhsv(337, 81%, 30%)
CMYKcmyk(0%, 80.5%, 49.4%, 69.8%)
CIE-LABlab(15.83, 30.68, 1.01)
CIE-LCHlch(15.83, 30.69, 1.88°)
OKLaboklab(28.67% 0.094 0.0029)
OKLCHoklch(28.67% 0.094 1.8)
XYZxyz(3.5979, 2.0664, 2.1285)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F27 #0F4D35
analogous
#4D0F46 #4D0F27 #4D160F
triadic
#4D0F27 #274D0F #0F274D
tetradic
#4D0F27 #464D0F #0F4D35 #160F4D
square
#4D0F27 #464D0F #0F4D35 #160F4D
split-complementary
#4D0F27 #0F4D16 #0F464D
monochromatic
#1A050D #1A050D #4D0F27 #801941 #B3235B

Accessibility & contrast

On white

14.86
#4D0F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4D0F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F27
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F27#FFFFFF#000000##FFFFFF
##4D0F271.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2028
Deuteranopia (green-blind)
#2D2C26
Tritanopia (blue-blind)
#540519
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4d0f27;
/* rgb */ color: rgb(77, 15, 39);
/* oklch */ color: oklch(28.7% 0.094 1.8);
Tailwind
colors: {
  custom: {
    50: '#835460',
    500: '#4d0f27',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f27;
$custom-light: #835460;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f27",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 336.774,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28669,
    "c": 0.09408,
    "h": 1.8
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#4D0F27
secondary
#318766
accent
#EAA73E
background
#F8F5F5
surface
#EFE8E9
border
#CAC4C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D0F27

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

Preview Lab → · Contrast checker → · Palette generator →

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