#4F0F28#4F0F28

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

Color values

HEX#4F0F28
RGBrgb(79, 15, 40)
HSLhsl(337, 68%, 18%)
HSVhsv(337, 81%, 31%)
CMYKcmyk(0%, 81%, 49.4%, 69%)
CIE-LABlab(16.29, 31.45, 1.00)
CIE-LCHlch(16.29, 31.47, 1.83°)
OKLaboklab(29.1% 0.0964 0.0029)
OKLCHoklch(29.1% 0.096 1.7)
XYZxyz(3.7786, 2.1576, 2.2246)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F28 #0F4F36
analogous
#4F0F48 #4F0F28 #4F160F
triadic
#4F0F28 #284F0F #0F284F
tetradic
#4F0F28 #484F0F #0F4F36 #160F4F
square
#4F0F28 #484F0F #0F4F36 #160F4F
split-complementary
#4F0F28 #0F4F16 #0F484F
monochromatic
#1A050D #1C050E #4F0F28 #821942 #B6235C

Accessibility & contrast

On white

14.67
#4F0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0F28
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F28#FFFFFF#000000##FFFFFF
##4F0F281.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2029
Deuteranopia (green-blind)
#2F2D27
Tritanopia (blue-blind)
#56051A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0f28;
/* rgb */ color: rgb(79, 15, 40);
/* oklch */ color: oklch(29.1% 0.096 1.7);
Tailwind
colors: {
  custom: {
    50: '#845461',
    500: '#4f0f28',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f28;
$custom-light: #845461;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f28",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 336.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29099,
    "c": 0.09646,
    "h": 1.7
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#4F0F28
secondary
#318967
accent
#EBA73D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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