#4F0C29#4F0C29

#4F0C29 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.100 H 359.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#4F0C29
RGBrgb(79, 12, 41)
HSLhsl(334, 74%, 18%)
HSVhsv(334, 85%, 31%)
CMYKcmyk(0%, 84.8%, 48.1%, 69%)
CIE-LABlab(15.93, 32.68, -0.25)
CIE-LCHlch(15.93, 32.68, 359.56°)
OKLaboklab(28.84% 0.1004 -0.0003)
OKLCHoklch(28.84% 0.1 359.8)
XYZxyz(3.7565, 2.0858, 2.3022)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C29 #0C4F32
analogous
#4F0C4A #4F0C29 #4F110C
triadic
#4F0C29 #294F0C #0C294F
tetradic
#4F0C29 #4A4F0C #0C4F32 #110C4F
square
#4F0C29 #4A4F0C #0C4F32 #110C4F
split-complementary
#4F0C29 #0C4F11 #0C4A4F
monochromatic
#1B040E #1B040E #4F0C29 #841445 #B91C60

Accessibility & contrast

On white

14.82
#4F0C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C29
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C29#FFFFFF#000000##FFFFFF
##4F0C291.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F2A
Deuteranopia (green-blind)
#2E2C27
Tritanopia (blue-blind)
#560219
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c29;
/* rgb */ color: rgb(79, 12, 41);
/* oklch */ color: oklch(28.8% 0.100 359.8);
Tailwind
colors: {
  custom: {
    50: '#845362',
    500: '#4f0c29',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c29;
$custom-light: #845362;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c29",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 334.03,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28844,
    "c": 0.1004,
    "h": 359.8
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#4F0C29
secondary
#2C8B62
accent
#F0A038
background
#F8F4F5
surface
#F0E8EA
border
#CBC4C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0C29

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

Preview Lab → · Contrast checker → · Palette generator →

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