#4F152B#4F152B

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

Color values

HEX#4F152B
RGBrgb(79, 21, 43)
HSLhsl(337, 58%, 20%)
HSVhsv(337, 73%, 31%)
CMYKcmyk(0%, 73.4%, 45.6%, 69%)
CIE-LABlab(17.34, 29.19, 0.36)
CIE-LCHlch(17.34, 29.19, 0.70°)
OKLaboklab(29.9% 0.0893 0.0013)
OKLCHoklch(29.9% 0.089 0.8)
XYZxyz(3.9289, 2.3735, 2.5363)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F152B #154F39
analogous
#4F1548 #4F152B #4F1C15
triadic
#4F152B #2B4F15 #152B4F
tetradic
#4F152B #484F15 #154F39 #1C154F
square
#4F152B #484F15 #154F39 #1C154F
split-complementary
#4F152B #154F1C #15484F
monochromatic
#18060D #1F0811 #4F152B #7F2245 #B02F60

Accessibility & contrast

On white

14.24
#4F152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F152B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F152B#FFFFFF#000000##FFFFFF
##4F152B1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#560E1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f152b;
/* rgb */ color: rgb(79, 21, 43);
/* oklch */ color: oklch(29.9% 0.089 0.8);
Tailwind
colors: {
  custom: {
    50: '#845764',
    500: '#4f152b',
    950: '#000000',
  },
}
SCSS
$custom: #4f152b;
$custom-light: #845764;
$custom-dark: #000000;
JSON
{
  "hex": "#4f152b",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 337.241,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29903,
    "c": 0.08933,
    "h": 0.8
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#4F152B
secondary
#398769
accent
#E1A747
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F152B

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

Preview Lab → · Contrast checker → · Palette generator →

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