#4D0F2A#4D0F2A

#4D0F2A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.095 H 358.6°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#4D0F2A
RGBrgb(77, 15, 42)
HSLhsl(334, 67%, 18%)
HSVhsv(334, 81%, 30%)
CMYKcmyk(0%, 80.5%, 45.5%, 69.8%)
CIE-LABlab(15.94, 31.02, -1.02)
CIE-LCHlch(15.94, 31.04, 358.12°)
OKLaboklab(28.78% 0.0952 -0.0023)
OKLCHoklch(28.78% 0.095 358.6)
XYZxyz(3.6496, 2.0871, 2.4007)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F2A #0F4D32
analogous
#4D0F49 #4D0F2A #4D130F
triadic
#4D0F2A #2A4D0F #0F2A4D
tetradic
#4D0F2A #494D0F #0F4D32 #130F4D
square
#4D0F2A #494D0F #0F4D32 #130F4D
split-complementary
#4D0F2A #0F4D13 #0F494D
monochromatic
#1A050E #1A050E #4D0F2A #801946 #B32362

Accessibility & contrast

On white

14.82
#4D0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4D0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F2A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F2A#FFFFFF#000000##FFFFFF
##4D0F2A1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202B
Deuteranopia (green-blind)
#2D2C29
Tritanopia (blue-blind)
#54071B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d0f2a;
/* rgb */ color: rgb(77, 15, 42);
/* oklch */ color: oklch(28.8% 0.095 358.6);
Tailwind
colors: {
  custom: {
    50: '#825463',
    500: '#4d0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f2a;
$custom-light: #825463;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f2a",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 333.871,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28782,
    "c": 0.09523,
    "h": 358.6
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

primary
#4D0F2A
secondary
#318761
accent
#EA9F3E
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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