#4F152E#4F152E

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

Color values

HEX#4F152E
RGBrgb(79, 21, 46)
HSLhsl(334, 58%, 20%)
HSVhsv(334, 73%, 31%)
CMYKcmyk(0%, 73.4%, 41.8%, 69%)
CIE-LABlab(17.44, 29.56, -1.63)
CIE-LCHlch(17.44, 29.61, 356.84°)
OKLaboklab(30.02% 0.0905 -0.0039)
OKLCHoklch(30.02% 0.091 357.5)
XYZxyz(3.9860, 2.3963, 2.8369)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F152E #154F36
analogous
#4F154B #4F152E #4F1915
triadic
#4F152E #2E4F15 #152E4F
tetradic
#4F152E #4B4F15 #154F36 #19154F
square
#4F152E #4B4F15 #154F36 #19154F
split-complementary
#4F152E #154F19 #154B4F
monochromatic
#18060E #1F0812 #4F152E #7F224A #B02F66

Accessibility & contrast

On white

14.20
#4F152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F152E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F152E#FFFFFF#000000##FFFFFF
##4F152E1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242F
Deuteranopia (green-blind)
#2F2F2D
Tritanopia (blue-blind)
#560F1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f152e;
/* rgb */ color: rgb(79, 21, 46);
/* oklch */ color: oklch(30.0% 0.091 357.5);
Tailwind
colors: {
  custom: {
    50: '#835766',
    500: '#4f152e',
    950: '#000000',
  },
}
SCSS
$custom: #4f152e;
$custom-light: #835766;
$custom-dark: #000000;
JSON
{
  "hex": "#4f152e",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 334.138,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30016,
    "c": 0.09057,
    "h": 357.5
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#4F152E
secondary
#398765
accent
#E19F47
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F152E

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

Preview Lab → · Contrast checker → · Palette generator →

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