#4F0C24#4F0C24

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

Color values

HEX#4F0C24
RGBrgb(79, 12, 36)
HSLhsl(339, 74%, 18%)
HSVhsv(339, 85%, 31%)
CMYKcmyk(0%, 84.8%, 54.4%, 69%)
CIE-LABlab(15.76, 32.16, 3.15)
CIE-LCHlch(15.76, 32.31, 5.59°)
OKLaboklab(28.67% 0.0984 0.0083)
OKLCHoklch(28.67% 0.099 4.8)
XYZxyz(3.6747, 2.0531, 1.8715)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C24 #0C4F37
analogous
#4F0C45 #4F0C24 #4F150C
triadic
#4F0C24 #244F0C #0C244F
tetradic
#4F0C24 #454F0C #0C4F37 #150C4F
square
#4F0C24 #454F0C #0C4F37 #150C4F
split-complementary
#4F0C24 #0C4F15 #0C454F
monochromatic
#1B040C #1B040C #4F0C24 #84143C #B91C54

Accessibility & contrast

On white

14.89
#4F0C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C24
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C24#FFFFFF#000000##FFFFFF
##4F0C241.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1F25
Deuteranopia (green-blind)
#2E2C22
Tritanopia (blue-blind)
#570016
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0c24;
/* rgb */ color: rgb(79, 12, 36);
/* oklch */ color: oklch(28.7% 0.099 4.8);
Tailwind
colors: {
  custom: {
    50: '#85535e',
    500: '#4f0c24',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c24;
$custom-light: #85535e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c24",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 36
  },
  "hsl": {
    "h": 338.507,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28666,
    "c": 0.09873,
    "h": 4.8
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#4F0C24
secondary
#2C8B69
accent
#F0AE38
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #4F0C24

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

Preview Lab → · Contrast checker → · Palette generator →

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