#4F0F2F#4F0F2F

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

Color values

HEX#4F0F2F
RGBrgb(79, 15, 47)
HSLhsl(330, 68%, 18%)
HSVhsv(330, 81%, 31%)
CMYKcmyk(0%, 81%, 40.5%, 69%)
CIE-LABlab(16.55, 32.28, -3.67)
CIE-LCHlch(16.55, 32.49, 353.51°)
OKLaboklab(29.37% 0.099 -0.0093)
OKLCHoklch(29.37% 0.099 354.6)
XYZxyz(3.9086, 2.2096, 2.9094)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F2F #0F4F2F
analogous
#4F0F4F #4F0F2F #4F0F0F
triadic
#4F0F2F #2F4F0F #0F2F4F
tetradic
#4F0F2F #4F4F0F #0F4F2F #0F0F4F
square
#4F0F2F #4F4F0F #0F4F2F #0F0F4F
split-complementary
#4F0F2F #0F4F0F #0F4F4F
monochromatic
#1A050F #1C0510 #4F0F2F #82194E #B6236C

Accessibility & contrast

On white

14.57
#4F0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F2F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F2F#FFFFFF#000000##FFFFFF
##4F0F2F1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2130
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#56081D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f0f2f;
/* rgb */ color: rgb(79, 15, 47);
/* oklch */ color: oklch(29.4% 0.099 354.6);
Tailwind
colors: {
  custom: {
    50: '#845467',
    500: '#4f0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f2f;
$custom-light: #845467;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f2f",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 330,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.09946,
    "h": 354.6
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#4F0F2F
secondary
#31895D
accent
#EB943D
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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