#4F0C2B#4F0C2B

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

Color values

HEX#4F0C2B
RGBrgb(79, 12, 43)
HSLhsl(332, 74%, 18%)
HSVhsv(332, 85%, 31%)
CMYKcmyk(0%, 84.8%, 45.6%, 69%)
CIE-LABlab(16.00, 32.90, -1.59)
CIE-LCHlch(16.00, 32.94, 357.23°)
OKLaboklab(28.92% 0.1012 -0.0038)
OKLCHoklch(28.92% 0.101 357.9)
XYZxyz(3.7922, 2.1001, 2.4907)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C2B #0C4F30
analogous
#4F0C4C #4F0C2B #4F0F0C
triadic
#4F0C2B #2B4F0C #0C2B4F
tetradic
#4F0C2B #4C4F0C #0C4F30 #0F0C4F
square
#4F0C2B #4C4F0C #0C4F30 #0F0C4F
split-complementary
#4F0C2B #0C4F0F #0C4C4F
monochromatic
#1B040E #1B040E #4F0C2B #841448 #B91C65

Accessibility & contrast

On white

14.79
#4F0C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F0C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C2B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C2B#FFFFFF#000000##FFFFFF
##4F0C2B1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202C
Deuteranopia (green-blind)
#2D2C29
Tritanopia (blue-blind)
#56031A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c2b;
/* rgb */ color: rgb(79, 12, 43);
/* oklch */ color: oklch(28.9% 0.101 357.9);
Tailwind
colors: {
  custom: {
    50: '#845364',
    500: '#4f0c2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c2b;
$custom-light: #845364;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c2b",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 332.239,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28921,
    "c": 0.10122,
    "h": 357.9
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#4F0C2B
secondary
#2C8B5F
accent
#F09B38
background
#F8F4F5
surface
#F0E8EA
border
#CBC4C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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