#4F1139#4F1139

#4F1139 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.103 H 345.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4F1139
RGBrgb(79, 17, 57)
HSLhsl(321, 65%, 19%)
HSVhsv(321, 78%, 31%)
CMYKcmyk(0%, 78.5%, 27.8%, 69%)
CIE-LABlab(17.27, 32.86, -9.71)
CIE-LCHlch(17.27, 34.26, 343.54°)
OKLaboklab(30.04% 0.0995 -0.0258)
OKLCHoklch(30.04% 0.103 345.5)
XYZxyz(4.1636, 2.3590, 4.1062)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1139 #114F27
analogous
#46114F #4F1139 #4F111A
triadic
#4F1139 #394F11 #11394F
tetradic
#4F1139 #4F4611 #114F27 #111A4F
square
#4F1139 #4F4611 #114F27 #111A4F
split-complementary
#4F1139 #1A4F11 #114F46
monochromatic
#190512 #1D0615 #4F1139 #811C5D #B42782

Accessibility & contrast

On white

14.27
#4F1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1139
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1139#FFFFFF#000000##FFFFFF
##4F11391.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243A
Deuteranopia (green-blind)
#2B2E38
Tritanopia (blue-blind)
#551023
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1139;
/* rgb */ color: rgb(79, 17, 57);
/* oklch */ color: oklch(30.0% 0.103 345.5);
Tailwind
colors: {
  custom: {
    50: '#83556f',
    500: '#4f1139',
    950: '#000000',
  },
}
SCSS
$custom: #4f1139;
$custom-light: #83556f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1139",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 321.29,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30039,
    "c": 0.10276,
    "h": 345.5
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#4F1139
secondary
#338852
accent
#E87C40
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F1139

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

Preview Lab → · Contrast checker → · Palette generator →

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