#4F152F#4F152F

#4F152F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.091 H 356.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#4F152F
RGBrgb(79, 21, 47)
HSLhsl(333, 58%, 20%)
HSVhsv(333, 73%, 31%)
CMYKcmyk(0%, 73.4%, 40.5%, 69%)
CIE-LABlab(17.48, 29.69, -2.29)
CIE-LCHlch(17.48, 29.78, 355.59°)
OKLaboklab(30.06% 0.0909 -0.0056)
OKLCHoklch(30.06% 0.091 356.4)
XYZxyz(4.0060, 2.4043, 2.9419)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F152F #154F35
analogous
#4F154C #4F152F #4F1815
triadic
#4F152F #2F4F15 #152F4F
tetradic
#4F152F #4C4F15 #154F35 #18154F
square
#4F152F #4C4F15 #154F35 #18154F
split-complementary
#4F152F #154F18 #154C4F
monochromatic
#18060E #1F0812 #4F152F #7F224C #B02F69

Accessibility & contrast

On white

14.18
#4F152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F152F
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F152F#FFFFFF#000000##FFFFFF
##4F152F1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#561020
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f152f;
/* rgb */ color: rgb(79, 21, 47);
/* oklch */ color: oklch(30.1% 0.091 356.4);
Tailwind
colors: {
  custom: {
    50: '#835767',
    500: '#4f152f',
    950: '#000000',
  },
}
SCSS
$custom: #4f152f;
$custom-light: #835767;
$custom-dark: #000000;
JSON
{
  "hex": "#4f152f",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 333.103,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30056,
    "c": 0.09105,
    "h": 356.4
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#4F152F
secondary
#398764
accent
#E19C47
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F152F

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

Preview Lab → · Contrast checker → · Palette generator →

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