#4F0C42#4F0C42

#4F0C42 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.1% C 0.116 H 337.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4F0C42
RGBrgb(79, 12, 66)
HSLhsl(312, 74%, 18%)
HSVhsv(312, 85%, 31%)
CMYKcmyk(0%, 84.8%, 16.5%, 69%)
CIE-LABlab(17.08, 36.12, -16.32)
CIE-LCHlch(17.08, 39.64, 335.68°)
OKLaboklab(30.05% 0.1067 -0.0444)
OKLCHoklch(30.05% 0.116 337.4)
XYZxyz(4.3394, 2.3190, 5.3723)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C42 #0C4F19
analogous
#3A0C4F #4F0C42 #4F0C20
triadic
#4F0C42 #424F0C #0C424F
tetradic
#4F0C42 #4F3A0C #0C4F19 #0C204F
square
#4F0C42 #4F3A0C #0C4F19 #0C204F
split-complementary
#4F0C42 #204F0C #0C4F3A
monochromatic
#1B0416 #1B0416 #4F0C42 #84146E #B91C9B

Accessibility & contrast

On white

14.35
#4F0C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F0C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C42
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C42#FFFFFF#000000##FFFFFF
##4F0C421.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2443
Deuteranopia (green-blind)
#262E40
Tritanopia (blue-blind)
#541026
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0c42;
/* rgb */ color: rgb(79, 12, 66);
/* oklch */ color: oklch(30.1% 0.116 337.4);
Tailwind
colors: {
  custom: {
    50: '#835476',
    500: '#4f0c42',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c42;
$custom-light: #835476;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c42",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 311.642,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30053,
    "c": 0.11558,
    "h": 337.4
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#4F0C42
secondary
#2C8B3F
accent
#F05B38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0C42

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

Preview Lab → · Contrast checker → · Palette generator →

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