#4F0C22#4F0C22

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

Color values

HEX#4F0C22
RGBrgb(79, 12, 34)
HSLhsl(340, 74%, 18%)
HSVhsv(340, 85%, 31%)
CMYKcmyk(0%, 84.8%, 57%, 69%)
CIE-LABlab(15.70, 31.97, 4.52)
CIE-LCHlch(15.70, 32.28, 8.05°)
OKLaboklab(28.6% 0.0975 0.0117)
OKLCHoklch(28.6% 0.098 6.8)
XYZxyz(3.6450, 2.0412, 1.7151)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C22 #0C4F39
analogous
#4F0C43 #4F0C22 #4F180C
triadic
#4F0C22 #224F0C #0C224F
tetradic
#4F0C22 #434F0C #0C4F39 #180C4F
square
#4F0C22 #434F0C #0C4F39 #180C4F
split-complementary
#4F0C22 #0C4F18 #0C434F
monochromatic
#1B040B #1B040B #4F0C22 #841439 #B91C50

Accessibility & contrast

On white

14.91
#4F0C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C22
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C22#FFFFFF#000000##FFFFFF
##4F0C221.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0c22;
/* rgb */ color: rgb(79, 12, 34);
/* oklch */ color: oklch(28.6% 0.098 6.8);
Tailwind
colors: {
  custom: {
    50: '#85525c',
    500: '#4f0c22',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c22;
$custom-light: #85525c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c22",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 340.299,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28601,
    "c": 0.09822,
    "h": 6.8
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#4F0C22
secondary
#2C8B6C
accent
#F0B438
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #4F0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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