#4F0E42#4F0E42

#4F0E42 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.113 H 337.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4F0E42
RGBrgb(79, 14, 66)
HSLhsl(312, 70%, 18%)
HSVhsv(312, 82%, 31%)
CMYKcmyk(0%, 82.3%, 16.5%, 69%)
CIE-LABlab(17.32, 35.43, -15.94)
CIE-LCHlch(17.32, 38.85, 335.77°)
OKLaboklab(30.23% 0.1046 -0.0433)
OKLCHoklch(30.23% 0.113 337.5)
XYZxyz(4.3649, 2.3701, 5.3808)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E42 #0E4F1B
analogous
#3B0E4F #4F0E42 #4F0E21
triadic
#4F0E42 #424F0E #0E424F
tetradic
#4F0E42 #4F3B0E #0E4F1B #0E214F
square
#4F0E42 #4F3B0E #0E4F1B #0E214F
split-complementary
#4F0E42 #214F0E #0E4F3B
monochromatic
#1A0516 #1B0517 #4F0E42 #83176D #B72099

Accessibility & contrast

On white

14.25
#4F0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0E42
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E42#FFFFFF#000000##FFFFFF
##4F0E421.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#541227
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0e42;
/* rgb */ color: rgb(79, 14, 66);
/* oklch */ color: oklch(30.2% 0.113 337.5);
Tailwind
colors: {
  custom: {
    50: '#835576',
    500: '#4f0e42',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e42;
$custom-light: #835576;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e42",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 312,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30226,
    "c": 0.11326,
    "h": 337.5
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#4F0E42
secondary
#2F8A41
accent
#ED5F3B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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