#4F152A#4F152A

#4F152A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.089 H 1.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4F152A
RGBrgb(79, 21, 42)
HSLhsl(338, 58%, 20%)
HSVhsv(338, 73%, 31%)
CMYKcmyk(0%, 73.4%, 46.8%, 69%)
CIE-LABlab(17.30, 29.07, 1.03)
CIE-LCHlch(17.30, 29.09, 2.02°)
OKLaboklab(29.87% 0.0889 0.003)
OKLCHoklch(29.87% 0.089 1.9)
XYZxyz(3.9108, 2.3662, 2.4408)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F152A #154F3A
analogous
#4F1547 #4F152A #4F1D15
triadic
#4F152A #2A4F15 #152A4F
tetradic
#4F152A #474F15 #154F3A #1D154F
square
#4F152A #474F15 #154F3A #1D154F
split-complementary
#4F152A #154F1D #15474F
monochromatic
#18060D #1F0810 #4F152A #7F2244 #B02F5D

Accessibility & contrast

On white

14.25
#4F152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F152A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F152A#FFFFFF#000000##FFFFFF
##4F152A1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21232B
Deuteranopia (green-blind)
#302F29
Tritanopia (blue-blind)
#560E1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f152a;
/* rgb */ color: rgb(79, 21, 42);
/* oklch */ color: oklch(29.9% 0.089 1.9);
Tailwind
colors: {
  custom: {
    50: '#845763',
    500: '#4f152a',
    950: '#000000',
  },
}
SCSS
$custom: #4f152a;
$custom-light: #845763;
$custom-dark: #000000;
JSON
{
  "hex": "#4f152a",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 338.276,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29866,
    "c": 0.08897,
    "h": 1.9
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#4F152A
secondary
#39876B
accent
#E1A947
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F152A

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

Preview Lab → · Contrast checker → · Palette generator →

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