#4F0C31#4F0C31

#4F0C31 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.2% C 0.104 H 352.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#4F0C31
RGBrgb(79, 12, 49)
HSLhsl(327, 74%, 18%)
HSVhsv(327, 85%, 31%)
CMYKcmyk(0%, 84.8%, 38%, 69%)
CIE-LABlab(16.24, 33.63, -5.57)
CIE-LCHlch(16.24, 34.09, 350.60°)
OKLaboklab(29.17% 0.1032 -0.0144)
OKLCHoklch(29.17% 0.104 352.1)
XYZxyz(3.9105, 2.1474, 3.1137)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C31 #0C4F2A
analogous
#4B0C4F #4F0C31 #4F0C0F
triadic
#4F0C31 #314F0C #0C314F
tetradic
#4F0C31 #4F4B0C #0C4F2A #0C0F4F
square
#4F0C31 #4F4B0C #0C4F2A #0C0F4F
split-complementary
#4F0C31 #0F4F0C #0C4F4B
monochromatic
#1B0410 #1B0410 #4F0C31 #841452 #B91C73

Accessibility & contrast

On white

14.69
#4F0C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C31
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C31#FFFFFF#000000##FFFFFF
##4F0C311.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192132
Deuteranopia (green-blind)
#2C2D30
Tritanopia (blue-blind)
#56061D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c31;
/* rgb */ color: rgb(79, 12, 49);
/* oklch */ color: oklch(29.2% 0.104 352.1);
Tailwind
colors: {
  custom: {
    50: '#845369',
    500: '#4f0c31',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c31;
$custom-light: #845369;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c31",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 326.866,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29174,
    "c": 0.10417,
    "h": 352.1
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#4F0C31
secondary
#2C8B56
accent
#F08A38
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F0C31

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

Preview Lab → · Contrast checker → · Palette generator →

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