#4F0C26#4F0C26

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

Color values

HEX#4F0C26
RGBrgb(79, 12, 38)
HSLhsl(337, 74%, 18%)
HSVhsv(337, 85%, 31%)
CMYKcmyk(0%, 84.8%, 51.9%, 69%)
CIE-LABlab(15.83, 32.36, 1.78)
CIE-LCHlch(15.83, 32.41, 3.16°)
OKLaboklab(28.73% 0.0992 0.0049)
OKLCHoklch(28.73% 0.099 2.8)
XYZxyz(3.7061, 2.0657, 2.0369)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C26 #0C4F35
analogous
#4F0C47 #4F0C26 #4F130C
triadic
#4F0C26 #264F0C #0C264F
tetradic
#4F0C26 #474F0C #0C4F35 #130C4F
square
#4F0C26 #474F0C #0C4F35 #130C4F
split-complementary
#4F0C26 #0C4F13 #0C474F
monochromatic
#1B040D #1B040D #4F0C26 #841440 #B91C59

Accessibility & contrast

On white

14.86
#4F0C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C26
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C26#FFFFFF#000000##FFFFFF
##4F0C261.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F27
Deuteranopia (green-blind)
#2E2C24
Tritanopia (blue-blind)
#570117
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0c26;
/* rgb */ color: rgb(79, 12, 38);
/* oklch */ color: oklch(28.7% 0.099 2.8);
Tailwind
colors: {
  custom: {
    50: '#845360',
    500: '#4f0c26',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c26;
$custom-light: #845360;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c26",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 336.716,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28734,
    "c": 0.09933,
    "h": 2.8
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#4F0C26
secondary
#2C8B66
accent
#F0A938
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4F0C26

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

Preview Lab → · Contrast checker → · Palette generator →

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