#4F0F26#4F0F26

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

Color values

HEX#4F0F26
RGBrgb(79, 15, 38)
HSLhsl(338, 68%, 18%)
HSVhsv(338, 81%, 31%)
CMYKcmyk(0%, 81%, 51.9%, 69%)
CIE-LABlab(16.23, 31.23, 2.36)
CIE-LCHlch(16.23, 31.32, 4.32°)
OKLaboklab(29.03% 0.0956 0.0064)
OKLCHoklch(29.03% 0.096 3.8)
XYZxyz(3.7454, 2.1444, 2.0500)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F26 #0F4F38
analogous
#4F0F46 #4F0F26 #4F180F
triadic
#4F0F26 #264F0F #0F264F
tetradic
#4F0F26 #464F0F #0F4F38 #180F4F
square
#4F0F26 #464F0F #0F4F38 #180F4F
split-complementary
#4F0F26 #0F4F18 #0F464F
monochromatic
#1A050C #1C050D #4F0F26 #82193F #B62357

Accessibility & contrast

On white

14.70
#4F0F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F26
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F26#FFFFFF#000000##FFFFFF
##4F0F261.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#2F2D24
Tritanopia (blue-blind)
#570419
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0f26;
/* rgb */ color: rgb(79, 15, 38);
/* oklch */ color: oklch(29.0% 0.096 3.8);
Tailwind
colors: {
  custom: {
    50: '#845460',
    500: '#4f0f26',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f26;
$custom-light: #845460;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f26",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 338.438,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29028,
    "c": 0.09581,
    "h": 3.8
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#4F0F26
secondary
#318969
accent
#EBAC3D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4F0F26

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

Preview Lab → · Contrast checker → · Palette generator →

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