#4F0F42#4F0F42

#4F0F42 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.112 H 337.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4F0F42
RGBrgb(79, 15, 66)
HSLhsl(312, 68%, 18%)
HSVhsv(312, 81%, 31%)
CMYKcmyk(0%, 81%, 16.5%, 69%)
CIE-LABlab(17.45, 35.06, -15.74)
CIE-LCHlch(17.45, 38.43, 335.82°)
OKLaboklab(30.32% 0.1035 -0.0428)
OKLCHoklch(30.32% 0.112 337.6)
XYZxyz(4.3787, 2.3977, 5.3854)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F42 #0F4F1C
analogous
#3C0F4F #4F0F42 #4F0F22
triadic
#4F0F42 #424F0F #0F424F
tetradic
#4F0F42 #4F3C0F #0F4F1C #0F224F
square
#4F0F42 #4F3C0F #0F4F1C #0F224F
split-complementary
#4F0F42 #224F0F #0F4F3C
monochromatic
#1A0515 #1C0517 #4F0F42 #82196D #B62398

Accessibility & contrast

On white

14.19
#4F0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F42
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F42#FFFFFF#000000##FFFFFF
##4F0F421.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112543
Deuteranopia (green-blind)
#272E41
Tritanopia (blue-blind)
#541327
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0f42;
/* rgb */ color: rgb(79, 15, 66);
/* oklch */ color: oklch(30.3% 0.112 337.6);
Tailwind
colors: {
  custom: {
    50: '#835576',
    500: '#4f0f42',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f42;
$custom-light: #835576;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f42",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 312.188,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30319,
    "c": 0.11203,
    "h": 337.6
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#4F0F42
secondary
#318943
accent
#EB603D
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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