#4F1338#4F1338

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

Color values

HEX#4F1338
RGBrgb(79, 19, 56)
HSLhsl(323, 61%, 19%)
HSVhsv(323, 76%, 31%)
CMYKcmyk(0%, 75.9%, 29.1%, 69%)
CIE-LABlab(17.53, 31.86, -8.61)
CIE-LCHlch(17.53, 33.00, 344.88°)
OKLaboklab(30.21% 0.0966 -0.0227)
OKLCHoklch(30.21% 0.099 346.7)
XYZxyz(4.1713, 2.4140, 3.9869)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1338 #134F2A
analogous
#48134F #4F1338 #4F131A
triadic
#4F1338 #384F13 #13384F
tetradic
#4F1338 #4F4813 #134F2A #131A4F
square
#4F1338 #4F4813 #134F2A #131A4F
split-complementary
#4F1338 #1A4F13 #134F48
monochromatic
#190611 #1E0715 #4F1338 #801F5B #B22B7E

Accessibility & contrast

On white

14.16
#4F1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1338
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1338#FFFFFF#000000##FFFFFF
##4F13381.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2439
Deuteranopia (green-blind)
#2C2F37
Tritanopia (blue-blind)
#551123
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1338;
/* rgb */ color: rgb(79, 19, 56);
/* oklch */ color: oklch(30.2% 0.099 346.7);
Tailwind
colors: {
  custom: {
    50: '#83566e',
    500: '#4f1338',
    950: '#000000',
  },
}
SCSS
$custom: #4f1338;
$custom-light: #83566e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1338",
  "rgb": {
    "r": 79,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 323,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30211,
    "c": 0.09923,
    "h": 346.7
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4F1338
secondary
#368855
accent
#E48143
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F1338

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

Preview Lab → · Contrast checker → · Palette generator →

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