#4F0F2A#4F0F2A

#4F0F2A is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 359.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#4F0F2A
RGBrgb(79, 15, 42)
HSLhsl(335, 68%, 18%)
HSVhsv(335, 81%, 31%)
CMYKcmyk(0%, 81%, 46.8%, 69%)
CIE-LABlab(16.36, 31.68, -0.34)
CIE-LCHlch(16.36, 31.68, 359.38°)
OKLaboklab(29.17% 0.0972 -0.0005)
OKLCHoklch(29.17% 0.097 359.7)
XYZxyz(3.8135, 2.1716, 2.4084)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F2A #0F4F34
analogous
#4F0F4A #4F0F2A #4F140F
triadic
#4F0F2A #2A4F0F #0F2A4F
tetradic
#4F0F2A #4A4F0F #0F4F34 #140F4F
square
#4F0F2A #4A4F0F #0F4F34 #140F4F
split-complementary
#4F0F2A #0F4F14 #0F4A4F
monochromatic
#1A050E #1C050F #4F0F2A #821945 #B62361

Accessibility & contrast

On white

14.64
#4F0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4F0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F2A
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F2A#FFFFFF#000000##FFFFFF
##4F0F2A1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212B
Deuteranopia (green-blind)
#2E2D29
Tritanopia (blue-blind)
#56061B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f0f2a;
/* rgb */ color: rgb(79, 15, 42);
/* oklch */ color: oklch(29.2% 0.097 359.7);
Tailwind
colors: {
  custom: {
    50: '#845463',
    500: '#4f0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f2a;
$custom-light: #845463;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f2a",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 334.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.09721,
    "h": 359.7
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#4F0F2A
secondary
#318964
accent
#EBA23D
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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