#4F0C43#4F0C43

#4F0C43 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.1% C 0.116 H 336.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4F0C43
RGBrgb(79, 12, 67)
HSLhsl(311, 74%, 18%)
HSVhsv(311, 85%, 31%)
CMYKcmyk(0%, 84.8%, 15.2%, 69%)
CIE-LABlab(17.14, 36.28, -16.93)
CIE-LCHlch(17.14, 40.04, 334.99°)
OKLaboklab(30.11% 0.1068 -0.0461)
OKLCHoklch(30.11% 0.116 336.6)
XYZxyz(4.3691, 2.3309, 5.5289)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C43 #0C4F18
analogous
#390C4F #4F0C43 #4F0C22
triadic
#4F0C43 #434F0C #0C434F
tetradic
#4F0C43 #4F390C #0C4F18 #0C224F
square
#4F0C43 #4F390C #0C4F18 #0C224F
split-complementary
#4F0C43 #224F0C #0C4F39
monochromatic
#1B0417 #1B0417 #4F0C43 #841470 #B91C9D

Accessibility & contrast

On white

14.32
#4F0C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F0C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C43
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C43#FFFFFF#000000##FFFFFF
##4F0C431.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2444
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#541127
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0c43;
/* rgb */ color: rgb(79, 12, 67);
/* oklch */ color: oklch(30.1% 0.116 336.6);
Tailwind
colors: {
  custom: {
    50: '#835477',
    500: '#4f0c43',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c43;
$custom-light: #835477;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c43",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 310.746,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.11635,
    "h": 336.6
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#4F0C43
secondary
#2C8B3D
accent
#F05938
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0C43

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

Preview Lab → · Contrast checker → · Palette generator →

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