#4F0C36#4F0C36

#4F0C36 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.107 H 347.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#4F0C36
RGBrgb(79, 12, 54)
HSLhsl(322, 74%, 18%)
HSVhsv(322, 85%, 31%)
CMYKcmyk(0%, 84.8%, 31.6%, 69%)
CIE-LABlab(16.46, 34.30, -8.81)
CIE-LCHlch(16.46, 35.42, 345.59°)
OKLaboklab(29.41% 0.1046 -0.0232)
OKLCHoklch(29.41% 0.107 347.5)
XYZxyz(4.0220, 2.1920, 3.7006)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C36 #0C4F25
analogous
#460C4F #4F0C36 #4F0C15
triadic
#4F0C36 #364F0C #0C364F
tetradic
#4F0C36 #4F460C #0C4F25 #0C154F
square
#4F0C36 #4F460C #0C4F25 #0C154F
split-complementary
#4F0C36 #154F0C #0C4F46
monochromatic
#1B0412 #1B0412 #4F0C36 #84145A #B91C7F

Accessibility & contrast

On white

14.60
#4F0C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4F0C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C36
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C36#FFFFFF#000000##FFFFFF
##4F0C361.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#2A2D35
Tritanopia (blue-blind)
#550920
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f0c36;
/* rgb */ color: rgb(79, 12, 54);
/* oklch */ color: oklch(29.4% 0.107 347.5);
Tailwind
colors: {
  custom: {
    50: '#84536d',
    500: '#4f0c36',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c36;
$custom-light: #84536d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c36",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 322.388,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.10711,
    "h": 347.5
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#4F0C36
secondary
#2C8B4F
accent
#F07C38
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F0C36

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

Preview Lab → · Contrast checker → · Palette generator →

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