#4F1138#4F1138

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

Color values

HEX#4F1138
RGBrgb(79, 17, 56)
HSLhsl(322, 65%, 19%)
HSVhsv(322, 78%, 31%)
CMYKcmyk(0%, 78.5%, 29.1%, 69%)
CIE-LABlab(17.22, 32.71, -9.07)
CIE-LCHlch(17.22, 33.95, 344.50°)
OKLaboklab(29.99% 0.0992 -0.024)
OKLCHoklch(29.99% 0.102 346.4)
XYZxyz(4.1389, 2.3491, 3.9761)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1138 #114F28
analogous
#47114F #4F1138 #4F1119
triadic
#4F1138 #384F11 #11384F
tetradic
#4F1138 #4F4711 #114F28 #11194F
square
#4F1138 #4F4711 #114F28 #11194F
split-complementary
#4F1138 #194F11 #114F47
monochromatic
#190512 #1D0614 #4F1138 #811C5C #B4277F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F1138#FFFFFF#000000##FFFFFF
##4F11381.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)
#192439
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#550F22
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1138;
/* rgb */ color: rgb(79, 17, 56);
/* oklch */ color: oklch(30.0% 0.102 346.4);
Tailwind
colors: {
  custom: {
    50: '#83556e',
    500: '#4f1138',
    950: '#000000',
  },
}
SCSS
$custom: #4f1138;
$custom-light: #83556e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1138",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 322.258,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.10208,
    "h": 346.4
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#4F1138
secondary
#338853
accent
#E87E40
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F1138

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

Preview Lab → · Contrast checker → · Palette generator →

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