#4F0D3A#4F0D3A

#4F0D3A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.109 H 344.1°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#4F0D3A
RGBrgb(79, 13, 58)
HSLhsl(319, 72%, 18%)
HSVhsv(319, 84%, 31%)
CMYKcmyk(0%, 83.5%, 26.6%, 69%)
CIE-LABlab(16.78, 34.53, -11.17)
CIE-LCHlch(16.78, 36.30, 342.07°)
OKLaboklab(29.7% 0.1044 -0.0298)
OKLCHoklch(29.7% 0.109 344.1)
XYZxyz(4.1323, 2.2560, 4.2200)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D3A #0D4F22
analogous
#430D4F #4F0D3A #4F0D19
triadic
#4F0D3A #3A4F0D #0D3A4F
tetradic
#4F0D3A #4F430D #0D4F22 #0D194F
square
#4F0D3A #4F430D #0D4F22 #0D194F
split-complementary
#4F0D3A #194F0D #0D4F43
monochromatic
#1A0413 #1A0413 #4F0D3A #841661 #B81E87

Accessibility & contrast

On white

14.47
#4F0D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4F0D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D3A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D3A#FFFFFF#000000##FFFFFF
##4F0D3A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223B
Deuteranopia (green-blind)
#292D39
Tritanopia (blue-blind)
#550D22
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f0d3a;
/* rgb */ color: rgb(79, 13, 58);
/* oklch */ color: oklch(29.7% 0.109 344.1);
Tailwind
colors: {
  custom: {
    50: '#835470',
    500: '#4f0d3a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d3a;
$custom-light: #835470;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d3a",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 319.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29697,
    "c": 0.10858,
    "h": 344.1
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#4F0D3A
secondary
#2E8A4B
accent
#EE7339
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F0D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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