#4F0D1F#4F0D1F

#4F0D1F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.097 H 10.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4F0D1F
RGBrgb(79, 13, 31)
HSLhsl(344, 72%, 18%)
HSVhsv(344, 84%, 31%)
CMYKcmyk(0%, 83.5%, 60.8%, 69%)
CIE-LABlab(15.75, 31.33, 6.78)
CIE-LCHlch(15.75, 32.05, 12.20°)
OKLaboklab(28.61% 0.095 0.0171)
OKLCHoklch(28.61% 0.097 10.2)
XYZxyz(3.6160, 2.0496, 1.5013)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D1F #0D4F3D
analogous
#4F0D40 #4F0D1F #4F1C0D
triadic
#4F0D1F #1F4F0D #0D1F4F
tetradic
#4F0D1F #404F0D #0D4F3D #1C0D4F
square
#4F0D1F #404F0D #0D4F3D #1C0D4F
split-complementary
#4F0D1F #0D4F1C #0D404F
monochromatic
#1A040A #1A040A #4F0D1F #841634 #B81E48

Accessibility & contrast

On white

14.90
#4F0D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D1F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D1F#FFFFFF#000000##FFFFFF
##4F0D1F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F1F
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#570015
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0d1f;
/* rgb */ color: rgb(79, 13, 31);
/* oklch */ color: oklch(28.6% 0.097 10.2);
Tailwind
colors: {
  custom: {
    50: '#85535a',
    500: '#4f0d1f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d1f;
$custom-light: #85535a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d1f",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 343.636,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28605,
    "c": 0.09656,
    "h": 10.2
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#4F0D1F
secondary
#2E8A71
accent
#EEBD39
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #4F0D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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