#4F0F2B#4F0F2B

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

Color values

HEX#4F0F2B
RGBrgb(79, 15, 43)
HSLhsl(334, 68%, 18%)
HSVhsv(334, 81%, 31%)
CMYKcmyk(0%, 81%, 45.6%, 69%)
CIE-LABlab(16.40, 31.79, -1.01)
CIE-LCHlch(16.40, 31.81, 358.17°)
OKLaboklab(29.21% 0.0976 -0.0023)
OKLCHoklch(29.21% 0.098 358.7)
XYZxyz(3.8316, 2.1788, 2.5038)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F2B #0F4F33
analogous
#4F0F4B #4F0F2B #4F130F
triadic
#4F0F2B #2B4F0F #0F2B4F
tetradic
#4F0F2B #4B4F0F #0F4F33 #130F4F
square
#4F0F2B #4B4F0F #0F4F33 #130F4F
split-complementary
#4F0F2B #0F4F13 #0F4B4F
monochromatic
#1A050E #1C050F #4F0F2B #821947 #B62363

Accessibility & contrast

On white

14.63
#4F0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F2B
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F2B#FFFFFF#000000##FFFFFF
##4F0F2B1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0f2b;
/* rgb */ color: rgb(79, 15, 43);
/* oklch */ color: oklch(29.2% 0.098 358.7);
Tailwind
colors: {
  custom: {
    50: '#845464',
    500: '#4f0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f2b;
$custom-light: #845464;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f2b",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 333.75,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29211,
    "c": 0.09763,
    "h": 358.7
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#4F0F2B
secondary
#318962
accent
#EB9F3D
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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