#4F0C20#4F0C20

#4F0C20 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.098 H 8.8°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#4F0C20
RGBrgb(79, 12, 32)
HSLhsl(342, 74%, 18%)
HSVhsv(342, 85%, 31%)
CMYKcmyk(0%, 84.8%, 59.5%, 69%)
CIE-LABlab(15.64, 31.78, 5.90)
CIE-LCHlch(15.64, 32.33, 10.52°)
OKLaboklab(28.54% 0.0966 0.015)
OKLCHoklch(28.54% 0.098 8.8)
XYZxyz(3.6170, 2.0300, 1.5676)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C20 #0C4F3B
analogous
#4F0C41 #4F0C20 #4F1A0C
triadic
#4F0C20 #204F0C #0C204F
tetradic
#4F0C20 #414F0C #0C4F3B #1A0C4F
square
#4F0C20 #414F0C #0C4F3B #1A0C4F
split-complementary
#4F0C20 #0C4F1A #0C414F
monochromatic
#1B040B #1B040B #4F0C20 #841436 #B91C4B

Accessibility & contrast

On white

14.94
#4F0C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C20
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C20#FFFFFF#000000##FFFFFF
##4F0C201.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E20
Deuteranopia (green-blind)
#2F2C1E
Tritanopia (blue-blind)
#570015
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0c20;
/* rgb */ color: rgb(79, 12, 32);
/* oklch */ color: oklch(28.5% 0.098 8.8);
Tailwind
colors: {
  custom: {
    50: '#85525b',
    500: '#4f0c20',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c20;
$custom-light: #85525b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c20",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 342.09,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28539,
    "c": 0.0978,
    "h": 8.8
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#4F0C20
secondary
#2C8B6E
accent
#F0B938
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #4F0C20

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

Preview Lab → · Contrast checker → · Palette generator →

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