#4F0C27#4F0C27

#4F0C27 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.100 H 1.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#4F0C27
RGBrgb(79, 12, 39)
HSLhsl(336, 74%, 18%)
HSVhsv(336, 85%, 31%)
CMYKcmyk(0%, 84.8%, 50.6%, 69%)
CIE-LABlab(15.86, 32.46, 1.10)
CIE-LCHlch(15.86, 32.48, 1.95°)
OKLaboklab(28.77% 0.0996 0.0032)
OKLCHoklch(28.77% 0.1 1.8)
XYZxyz(3.7224, 2.0722, 2.1230)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C27 #0C4F34
analogous
#4F0C48 #4F0C27 #4F130C
triadic
#4F0C27 #274F0C #0C274F
tetradic
#4F0C27 #484F0C #0C4F34 #130C4F
square
#4F0C27 #484F0C #0C4F34 #130C4F
split-complementary
#4F0C27 #0C4F13 #0C484F
monochromatic
#1B040D #1B040D #4F0C27 #841441 #B91C5B

Accessibility & contrast

On white

14.85
#4F0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4F0C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C27
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C27#FFFFFF#000000##FFFFFF
##4F0C271.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F28
Deuteranopia (green-blind)
#2E2C25
Tritanopia (blue-blind)
#570118
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0c27;
/* rgb */ color: rgb(79, 12, 39);
/* oklch */ color: oklch(28.8% 0.100 1.8);
Tailwind
colors: {
  custom: {
    50: '#845360',
    500: '#4f0c27',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c27;
$custom-light: #845360;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c27",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 335.821,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2877,
    "c": 0.09967,
    "h": 1.8
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#4F0C27
secondary
#2C8B65
accent
#F0A638
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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