#4F0E40#4F0E40

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

Color values

HEX#4F0E40
RGBrgb(79, 14, 64)
HSLhsl(314, 70%, 18%)
HSVhsv(314, 82%, 31%)
CMYKcmyk(0%, 82.3%, 19%, 69%)
CIE-LABlab(17.21, 35.10, -14.72)
CIE-LCHlch(17.21, 38.07, 337.25°)
OKLaboklab(30.11% 0.1044 -0.0398)
OKLCHoklch(30.11% 0.112 339.1)
XYZxyz(4.3070, 2.3469, 5.0757)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E40 #0E4F1D
analogous
#3D0E4F #4F0E40 #4F0E1F
triadic
#4F0E40 #404F0E #0E404F
tetradic
#4F0E40 #4F3D0E #0E4F1D #0E1F4F
square
#4F0E40 #4F3D0E #0E4F1D #0E1F4F
split-complementary
#4F0E40 #1F4F0E #0E4F3D
monochromatic
#1A0515 #1B0516 #4F0E40 #83176A #B72094

Accessibility & contrast

On white

14.29
#4F0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0E40
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E40#FFFFFF#000000##FFFFFF
##4F0E401.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#282E3F
Tritanopia (blue-blind)
#541126
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0e40;
/* rgb */ color: rgb(79, 14, 64);
/* oklch */ color: oklch(30.1% 0.112 339.1);
Tailwind
colors: {
  custom: {
    50: '#835575',
    500: '#4f0e40',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e40;
$custom-light: #835575;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e40",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 313.846,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.11172,
    "h": 339.1
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#4F0E40
secondary
#2F8A44
accent
#ED643B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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