#4F0C2C#4F0C2C

#4F0C2C is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.102 H 356.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#4F0C2C
RGBrgb(79, 12, 44)
HSLhsl(331, 74%, 18%)
HSVhsv(331, 85%, 31%)
CMYKcmyk(0%, 84.8%, 44.3%, 69%)
CIE-LABlab(16.04, 33.02, -2.26)
CIE-LCHlch(16.04, 33.10, 356.08°)
OKLaboklab(28.96% 0.1015 -0.0055)
OKLCHoklch(28.96% 0.102 356.9)
XYZxyz(3.8108, 2.1075, 2.5885)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C2C #0C4F2F
analogous
#4F0C4D #4F0C2C #4F0D0C
triadic
#4F0C2C #2C4F0C #0C2C4F
tetradic
#4F0C2C #4D4F0C #0C4F2F #0D0C4F
square
#4F0C2C #4D4F0C #0C4F2F #0D0C4F
split-complementary
#4F0C2C #0C4F0D #0C4D4F
monochromatic
#1B040F #1B040F #4F0C2C #84144A #B91C67

Accessibility & contrast

On white

14.77
#4F0C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C2C
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C2C#FFFFFF#000000##FFFFFF
##4F0C2C1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202D
Deuteranopia (green-blind)
#2D2C2A
Tritanopia (blue-blind)
#56031A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c2c;
/* rgb */ color: rgb(79, 12, 44);
/* oklch */ color: oklch(29.0% 0.102 356.9);
Tailwind
colors: {
  custom: {
    50: '#845365',
    500: '#4f0c2c',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c2c;
$custom-light: #845365;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c2c",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 331.343,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28961,
    "c": 0.10166,
    "h": 356.9
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#4F0C2C
secondary
#2C8B5E
accent
#F09838
background
#F8F4F6
surface
#F0E8EB
border
#CBC4C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4F0C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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