#4F1236#4F1236

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

Color values

HEX#4F1236
RGBrgb(79, 18, 54)
HSLhsl(325, 63%, 19%)
HSVhsv(325, 77%, 31%)
CMYKcmyk(0%, 77.2%, 31.6%, 69%)
CIE-LABlab(17.28, 32.00, -7.57)
CIE-LCHlch(17.28, 32.88, 346.69°)
OKLaboklab(30% 0.0974 -0.0199)
OKLCHoklch(30% 0.099 348.5)
XYZxyz(4.1068, 2.3617, 3.7289)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1236 #124F2B
analogous
#4A124F #4F1236 #4F1218
triadic
#4F1236 #364F12 #12364F
tetradic
#4F1236 #4F4A12 #124F2B #12184F
square
#4F1236 #4F4A12 #124F2B #12184F
split-complementary
#4F1236 #184F12 #124F4A
monochromatic
#190611 #1D0714 #4F1236 #811D58 #B3297A

Accessibility & contrast

On white

14.26
#4F1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1236
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1236#FFFFFF#000000##FFFFFF
##4F12361.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2437
Deuteranopia (green-blind)
#2C2E35
Tritanopia (blue-blind)
#550F22
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1236;
/* rgb */ color: rgb(79, 18, 54);
/* oklch */ color: oklch(30.0% 0.099 348.5);
Tailwind
colors: {
  custom: {
    50: '#83566d',
    500: '#4f1236',
    950: '#000000',
  },
}
SCSS
$custom: #4f1236;
$custom-light: #83566d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1236",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 324.59,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30003,
    "c": 0.09938,
    "h": 348.5
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#4F1236
secondary
#358857
accent
#E68542
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F1236

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

Preview Lab → · Contrast checker → · Palette generator →

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