#4F0F27#4F0F27

#4F0F27 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.096 H 2.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4F0F27
RGBrgb(79, 15, 39)
HSLhsl(338, 68%, 18%)
HSVhsv(338, 81%, 31%)
CMYKcmyk(0%, 81%, 50.6%, 69%)
CIE-LABlab(16.26, 31.34, 1.68)
CIE-LCHlch(16.26, 31.39, 3.07°)
OKLaboklab(29.06% 0.096 0.0046)
OKLCHoklch(29.06% 0.096 2.8)
XYZxyz(3.7618, 2.1509, 2.1361)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F27 #0F4F37
analogous
#4F0F47 #4F0F27 #4F170F
triadic
#4F0F27 #274F0F #0F274F
tetradic
#4F0F27 #474F0F #0F4F37 #170F4F
square
#4F0F27 #474F0F #0F4F37 #170F4F
split-complementary
#4F0F27 #0F4F17 #0F474F
monochromatic
#1A050D #1C050E #4F0F27 #821940 #B6235A

Accessibility & contrast

On white

14.69
#4F0F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4F0F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F27
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F27#FFFFFF#000000##FFFFFF
##4F0F271.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2028
Deuteranopia (green-blind)
#2F2D25
Tritanopia (blue-blind)
#560419
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0f27;
/* rgb */ color: rgb(79, 15, 39);
/* oklch */ color: oklch(29.1% 0.096 2.8);
Tailwind
colors: {
  custom: {
    50: '#845460',
    500: '#4f0f27',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f27;
$custom-light: #845460;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f27",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 337.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29063,
    "c": 0.09613,
    "h": 2.8
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#4F0F27
secondary
#318968
accent
#EBAA3D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0F27

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

Preview Lab → · Contrast checker → · Palette generator →

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