#4F0C2A#4F0C2A

#4F0C2A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.101 H 358.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#4F0C2A
RGBrgb(79, 12, 42)
HSLhsl(333, 74%, 18%)
HSVhsv(333, 85%, 31%)
CMYKcmyk(0%, 84.8%, 46.8%, 69%)
CIE-LABlab(15.97, 32.79, -0.92)
CIE-LCHlch(15.97, 32.80, 358.39°)
OKLaboklab(28.88% 0.1008 -0.002)
OKLCHoklch(28.88% 0.101 358.8)
XYZxyz(3.7741, 2.0929, 2.3953)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C2A #0C4F31
analogous
#4F0C4B #4F0C2A #4F0F0C
triadic
#4F0C2A #2A4F0C #0C2A4F
tetradic
#4F0C2A #4B4F0C #0C4F31 #0F0C4F
square
#4F0C2A #4B4F0C #0C4F31 #0F0C4F
split-complementary
#4F0C2A #0C4F0F #0C4B4F
monochromatic
#1B040E #1B040E #4F0C2A #841446 #B91C62

Accessibility & contrast

On white

14.81
#4F0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F0C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C2A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C2A#FFFFFF#000000##FFFFFF
##4F0C2A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202B
Deuteranopia (green-blind)
#2D2C28
Tritanopia (blue-blind)
#560219
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c2a;
/* rgb */ color: rgb(79, 12, 42);
/* oklch */ color: oklch(28.9% 0.101 358.8);
Tailwind
colors: {
  custom: {
    50: '#845363',
    500: '#4f0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c2a;
$custom-light: #845363;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c2a",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 333.134,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28882,
    "c": 0.1008,
    "h": 358.8
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#4F0C2A
secondary
#2C8B60
accent
#F09E38
background
#F8F4F5
surface
#F0E8EA
border
#CBC4C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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