#4F153F#4F153F

#4F153F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.101 H 340.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4F153F
RGBrgb(79, 21, 63)
HSLhsl(317, 58%, 20%)
HSVhsv(317, 73%, 31%)
CMYKcmyk(0%, 73.4%, 20.3%, 69%)
CIE-LABlab(18.18, 32.07, -12.52)
CIE-LCHlch(18.18, 34.43, 338.68°)
OKLaboklab(30.8% 0.0955 -0.0337)
OKLCHoklch(30.8% 0.101 340.6)
XYZxyz(4.3899, 2.5579, 4.9642)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F153F #154F25
analogous
#42154F #4F153F #4F1522
triadic
#4F153F #3F4F15 #153F4F
tetradic
#4F153F #4F4215 #154F25 #15224F
square
#4F153F #4F4215 #154F25 #15224F
split-complementary
#4F153F #224F15 #154F42
monochromatic
#180613 #1F0818 #4F153F #7F2266 #B02F8C

Accessibility & contrast

On white

13.89
#4F153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4F153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F153F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F153F#FFFFFF#000000##FFFFFF
##4F153F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192640
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#541627
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f153f;
/* rgb */ color: rgb(79, 21, 63);
/* oklch */ color: oklch(30.8% 0.101 340.6);
Tailwind
colors: {
  custom: {
    50: '#835874',
    500: '#4f153f',
    950: '#000000',
  },
}
SCSS
$custom: #4f153f;
$custom-light: #835874;
$custom-dark: #000000;
JSON
{
  "hex": "#4f153f",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 316.552,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.10131,
    "h": 340.6
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#4F153F
secondary
#39874E
accent
#E17147
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F153F

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

Preview Lab → · Contrast checker → · Palette generator →

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