#4F152D#4F152D

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

Color values

HEX#4F152D
RGBrgb(79, 21, 45)
HSLhsl(335, 58%, 20%)
HSVhsv(335, 73%, 31%)
CMYKcmyk(0%, 73.4%, 43%, 69%)
CIE-LABlab(17.41, 29.44, -0.97)
CIE-LCHlch(17.41, 29.45, 358.11°)
OKLaboklab(29.98% 0.0901 -0.0022)
OKLCHoklch(29.98% 0.09 358.6)
XYZxyz(3.9665, 2.3885, 2.7343)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F152D #154F37
analogous
#4F154A #4F152D #4F1A15
triadic
#4F152D #2D4F15 #152D4F
tetradic
#4F152D #4A4F15 #154F37 #1A154F
square
#4F152D #4A4F15 #154F37 #1A154F
split-complementary
#4F152D #154F1A #154A4F
monochromatic
#18060E #1F0811 #4F152D #7F2249 #B02F64

Accessibility & contrast

On white

14.21
#4F152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F152D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F152D#FFFFFF#000000##FFFFFF
##4F152D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#560F1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f152d;
/* rgb */ color: rgb(79, 21, 45);
/* oklch */ color: oklch(30.0% 0.090 358.6);
Tailwind
colors: {
  custom: {
    50: '#835765',
    500: '#4f152d',
    950: '#000000',
  },
}
SCSS
$custom: #4f152d;
$custom-light: #835765;
$custom-dark: #000000;
JSON
{
  "hex": "#4f152d",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 335.172,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29978,
    "c": 0.09014,
    "h": 358.6
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#4F152D
secondary
#398767
accent
#E1A147
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4F152D

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

Preview Lab → · Contrast checker → · Palette generator →

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