#4F0B28#4F0B28

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

Color values

HEX#4F0B28
RGBrgb(79, 11, 40)
HSLhsl(334, 76%, 18%)
HSVhsv(334, 86%, 31%)
CMYKcmyk(0%, 86.1%, 49.4%, 69%)
CIE-LABlab(15.77, 32.91, 0.25)
CIE-LCHlch(15.77, 32.91, 0.43°)
OKLaboklab(28.72% 0.1011 0.001)
OKLCHoklch(28.72% 0.101 0.6)
XYZxyz(3.7274, 2.0553, 2.2075)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0B28 #0B4F32
analogous
#4F0B4A #4F0B28 #4F100B
triadic
#4F0B28 #284F0B #0B284F
tetradic
#4F0B28 #4A4F0B #0B4F32 #100B4F
square
#4F0B28 #4A4F0B #0B4F32 #100B4F
split-complementary
#4F0B28 #0B4F10 #0B4A4F
monochromatic
#1B040E #1B040E #4F0B28 #851243 #BA1A5E

Accessibility & contrast

On white

14.88
#4F0B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0B28
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0B28#FFFFFF#000000##FFFFFF
##4F0B281.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#2D2C26
Tritanopia (blue-blind)
#560018
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0b28;
/* rgb */ color: rgb(79, 11, 40);
/* oklch */ color: oklch(28.7% 0.101 0.6);
Tailwind
colors: {
  custom: {
    50: '#845261',
    500: '#4f0b28',
    950: '#000000',
  },
}
SCSS
$custom: #4f0b28;
$custom-light: #845261;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0b28",
  "rgb": {
    "r": 79,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 334.412,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28718,
    "c": 0.10113,
    "h": 0.6
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#4F0B28
secondary
#2B8B62
accent
#F2A236
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0B28

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

Preview Lab → · Contrast checker → · Palette generator →

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