#4F152C#4F152C

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

Color values

HEX#4F152C
RGBrgb(79, 21, 44)
HSLhsl(336, 58%, 20%)
HSVhsv(336, 73%, 31%)
CMYKcmyk(0%, 73.4%, 44.3%, 69%)
CIE-LABlab(17.37, 29.31, -0.31)
CIE-LCHlch(17.37, 29.31, 359.40°)
OKLaboklab(29.94% 0.0897 -0.0004)
OKLCHoklch(29.94% 0.09 359.7)
XYZxyz(3.9475, 2.3809, 2.6341)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F152C #154F38
analogous
#4F1549 #4F152C #4F1B15
triadic
#4F152C #2C4F15 #152C4F
tetradic
#4F152C #494F15 #154F38 #1B154F
square
#4F152C #494F15 #154F38 #1B154F
split-complementary
#4F152C #154F1B #15494F
monochromatic
#18060D #1F0811 #4F152C #7F2247 #B02F62

Accessibility & contrast

On white

14.23
#4F152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F152C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F152C#FFFFFF#000000##FFFFFF
##4F152C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242D
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#560E1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f152c;
/* rgb */ color: rgb(79, 21, 44);
/* oklch */ color: oklch(29.9% 0.090 359.7);
Tailwind
colors: {
  custom: {
    50: '#845764',
    500: '#4f152c',
    950: '#000000',
  },
}
SCSS
$custom: #4f152c;
$custom-light: #845764;
$custom-dark: #000000;
JSON
{
  "hex": "#4f152c",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 336.207,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2994,
    "c": 0.08972,
    "h": 359.7
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#4F152C
secondary
#398768
accent
#E1A447
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4F152C

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

Preview Lab → · Contrast checker → · Palette generator →

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