#4F0C2E#4F0C2E

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

Color values

HEX#4F0C2E
RGBrgb(79, 12, 46)
HSLhsl(330, 74%, 18%)
HSVhsv(330, 85%, 31%)
CMYKcmyk(0%, 84.8%, 41.8%, 69%)
CIE-LABlab(16.12, 33.26, -3.59)
CIE-LCHlch(16.12, 33.45, 353.83°)
OKLaboklab(29.04% 0.1022 -0.0091)
OKLCHoklch(29.04% 0.103 354.9)
XYZxyz(3.8493, 2.1229, 2.7913)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C2E #0C4F2D
analogous
#4E0C4F #4F0C2E #4F0C0D
triadic
#4F0C2E #2E4F0C #0C2E4F
tetradic
#4F0C2E #4F4E0C #0C4F2D #0C0D4F
square
#4F0C2E #4F4E0C #0C4F2D #0C0D4F
split-complementary
#4F0C2E #0D4F0C #0C4F4E
monochromatic
#1B040F #1B040F #4F0C2E #84144D #B91C6C

Accessibility & contrast

On white

14.74
#4F0C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C2E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C2E#FFFFFF#000000##FFFFFF
##4F0C2E1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#2C2C2C
Tritanopia (blue-blind)
#56041B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c2e;
/* rgb */ color: rgb(79, 12, 46);
/* oklch */ color: oklch(29.0% 0.103 354.9);
Tailwind
colors: {
  custom: {
    50: '#845366',
    500: '#4f0c2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c2e;
$custom-light: #845366;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c2e",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 329.552,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29044,
    "c": 0.10261,
    "h": 354.9
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#4F0C2E
secondary
#2C8B5B
accent
#F09338
background
#F8F4F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F0C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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