#4F1239#4F1239

#4F1239 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.101 H 345.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4F1239
RGBrgb(79, 18, 57)
HSLhsl(322, 63%, 19%)
HSVhsv(322, 77%, 31%)
CMYKcmyk(0%, 77.2%, 27.8%, 69%)
CIE-LABlab(17.42, 32.44, -9.48)
CIE-LCHlch(17.42, 33.80, 343.71°)
OKLaboklab(30.15% 0.0982 -0.0252)
OKLCHoklch(30.15% 0.101 345.6)
XYZxyz(4.1794, 2.3907, 4.1115)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1239 #124F28
analogous
#47124F #4F1239 #4F121B
triadic
#4F1239 #394F12 #12394F
tetradic
#4F1239 #4F4712 #124F28 #121B4F
square
#4F1239 #4F4712 #124F28 #121B4F
split-complementary
#4F1239 #1B4F12 #124F47
monochromatic
#190612 #1D0715 #4F1239 #811D5D #B32981

Accessibility & contrast

On white

14.21
#4F1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1239
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1239#FFFFFF#000000##FFFFFF
##4F12391.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243A
Deuteranopia (green-blind)
#2B2F38
Tritanopia (blue-blind)
#551123
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1239;
/* rgb */ color: rgb(79, 18, 57);
/* oklch */ color: oklch(30.1% 0.101 345.6);
Tailwind
colors: {
  custom: {
    50: '#83566f',
    500: '#4f1239',
    950: '#000000',
  },
}
SCSS
$custom: #4f1239;
$custom-light: #83566f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1239",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 321.639,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.10135,
    "h": 345.6
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#4F1239
secondary
#358853
accent
#E67D42
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F1239

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

Preview Lab → · Contrast checker → · Palette generator →

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