#4F1142#4F1142

#4F1142 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.109 H 337.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4F1142
RGBrgb(79, 17, 66)
HSLhsl(313, 65%, 19%)
HSVhsv(313, 78%, 31%)
CMYKcmyk(0%, 78.5%, 16.5%, 69%)
CIE-LABlab(17.72, 34.29, -15.32)
CIE-LCHlch(17.72, 37.56, 335.93°)
OKLaboklab(30.52% 0.1012 -0.0416)
OKLCHoklch(30.52% 0.109 337.7)
XYZxyz(4.4084, 2.4569, 5.3953)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1142 #114F1E
analogous
#3D114F #4F1142 #4F1123
triadic
#4F1142 #424F11 #11424F
tetradic
#4F1142 #4F3D11 #114F1E #11234F
square
#4F1142 #4F3D11 #114F1E #11234F
split-complementary
#4F1142 #234F11 #114F3D
monochromatic
#190515 #1D0618 #4F1142 #811C6C #B42796

Accessibility & contrast

On white

14.08
#4F1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1142
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1142#FFFFFF#000000##FFFFFF
##4F11421.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#282F41
Tritanopia (blue-blind)
#541428
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1142;
/* rgb */ color: rgb(79, 17, 66);
/* oklch */ color: oklch(30.5% 0.109 337.7);
Tailwind
colors: {
  custom: {
    50: '#835676',
    500: '#4f1142',
    950: '#000000',
  },
}
SCSS
$custom: #4f1142;
$custom-light: #835676;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1142",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 312.581,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30517,
    "c": 0.10943,
    "h": 337.7
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#4F1142
secondary
#338845
accent
#E86340
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F1142

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

Preview Lab → · Contrast checker → · Palette generator →

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