#4F1940#4F1940

#4F1940 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.096 H 340.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#4F1940
RGBrgb(79, 25, 64)
HSLhsl(317, 52%, 20%)
HSVhsv(317, 68%, 31%)
CMYKcmyk(0%, 68.4%, 19%, 69%)
CIE-LABlab(18.92, 30.33, -12.07)
CIE-LCHlch(18.92, 32.64, 338.30°)
OKLaboklab(31.36% 0.09 -0.0325)
OKLCHoklch(31.36% 0.096 340.2)
XYZxyz(4.4976, 2.7281, 5.1392)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1940 #194F28
analogous
#43194F #4F1940 #4F1925
triadic
#4F1940 #404F19 #19404F
tetradic
#4F1940 #4F4319 #194F28 #19254F
square
#4F1940 #4F4319 #194F28 #19254F
split-complementary
#4F1940 #254F19 #194F43
monochromatic
#170713 #210A1A #4F1940 #7D2866 #AC368B

Accessibility & contrast

On white

13.59
#4F1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1940
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1940#FFFFFF#000000##FFFFFF
##4F19401.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2841
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#541A2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1940;
/* rgb */ color: rgb(79, 25, 64);
/* oklch */ color: oklch(31.4% 0.096 340.2);
Tailwind
colors: {
  custom: {
    50: '#825a75',
    500: '#4f1940',
    950: '#000000',
  },
}
SCSS
$custom: #4f1940;
$custom-light: #825a75;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1940",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 316.667,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31357,
    "c": 0.09568,
    "h": 340.2
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#4F1940
secondary
#3E8552
accent
#DB744C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4F1940

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

Preview Lab → · Contrast checker → · Palette generator →

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