#4F0D42#4F0D42

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

Color values

HEX#4F0D42
RGBrgb(79, 13, 66)
HSLhsl(312, 72%, 18%)
HSVhsv(312, 84%, 31%)
CMYKcmyk(0%, 83.5%, 16.5%, 69%)
CIE-LABlab(17.20, 35.78, -16.14)
CIE-LCHlch(17.20, 39.25, 335.73°)
OKLaboklab(30.14% 0.1057 -0.0439)
OKLCHoklch(30.14% 0.114 337.5)
XYZxyz(4.3518, 2.3439, 5.3764)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D42 #0D4F1A
analogous
#3B0D4F #4F0D42 #4F0D21
triadic
#4F0D42 #424F0D #0D424F
tetradic
#4F0D42 #4F3B0D #0D4F1A #0D214F
square
#4F0D42 #4F3B0D #0D4F1A #0D214F
split-complementary
#4F0D42 #214F0D #0D4F3B
monochromatic
#1A0416 #1A0416 #4F0D42 #84166E #B81E9A

Accessibility & contrast

On white

14.30
#4F0D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D42
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D42#FFFFFF#000000##FFFFFF
##4F0D421.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#262E40
Tritanopia (blue-blind)
#541126
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0d42;
/* rgb */ color: rgb(79, 13, 66);
/* oklch */ color: oklch(30.1% 0.114 337.5);
Tailwind
colors: {
  custom: {
    50: '#835476',
    500: '#4f0d42',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d42;
$custom-light: #835476;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d42",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 311.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30138,
    "c": 0.11445,
    "h": 337.5
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#4F0D42
secondary
#2E8A40
accent
#EE5D39
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0D42

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

Preview Lab → · Contrast checker → · Palette generator →

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