#4F0C2F#4F0C2F

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

Color values

HEX#4F0C2F
RGBrgb(79, 12, 47)
HSLhsl(329, 74%, 18%)
HSVhsv(329, 85%, 31%)
CMYKcmyk(0%, 84.8%, 40.5%, 69%)
CIE-LABlab(16.16, 33.38, -4.25)
CIE-LCHlch(16.16, 33.65, 352.74°)
OKLaboklab(29.09% 0.1025 -0.0108)
OKLCHoklch(29.09% 0.103 354)
XYZxyz(3.8693, 2.1309, 2.8963)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C2F #0C4F2C
analogous
#4D0C4F #4F0C2F #4F0C0D
triadic
#4F0C2F #2F4F0C #0C2F4F
tetradic
#4F0C2F #4F4D0C #0C4F2C #0C0D4F
square
#4F0C2F #4F4D0C #0C4F2C #0C0D4F
split-complementary
#4F0C2F #0D4F0C #0C4F4D
monochromatic
#1B0410 #1B0410 #4F0C2F #84144F #B91C6E

Accessibility & contrast

On white

14.73
#4F0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C2F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C2F#FFFFFF#000000##FFFFFF
##4F0C2F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#2C2D2D
Tritanopia (blue-blind)
#56051C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c2f;
/* rgb */ color: rgb(79, 12, 47);
/* oklch */ color: oklch(29.1% 0.103 354.0);
Tailwind
colors: {
  custom: {
    50: '#845367',
    500: '#4f0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c2f;
$custom-light: #845367;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c2f",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 328.657,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29086,
    "c": 0.10311,
    "h": 354
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#4F0C2F
secondary
#2C8B59
accent
#F09038
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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