#4F0D3F#4F0D3F

#4F0D3F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.112 H 339.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4F0D3F
RGBrgb(79, 13, 63)
HSLhsl(315, 72%, 18%)
HSVhsv(315, 84%, 31%)
CMYKcmyk(0%, 83.5%, 20.3%, 69%)
CIE-LABlab(17.03, 35.30, -14.29)
CIE-LCHlch(17.03, 38.08, 337.95°)
OKLaboklab(29.97% 0.1053 -0.0386)
OKLCHoklch(29.97% 0.112 339.8)
XYZxyz(4.2657, 2.3094, 4.9228)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D3F #0D4F1D
analogous
#3E0D4F #4F0D3F #4F0D1E
triadic
#4F0D3F #3F4F0D #0D3F4F
tetradic
#4F0D3F #4F3E0D #0D4F1D #0D1E4F
square
#4F0D3F #4F3E0D #0D4F1D #0D1E4F
split-complementary
#4F0D3F #1E4F0D #0D4F3E
monochromatic
#1A0415 #1A0415 #4F0D3F #841669 #B81E93

Accessibility & contrast

On white

14.37
#4F0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F0D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D3F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D3F#FFFFFF#000000##FFFFFF
##4F0D3F1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122340
Deuteranopia (green-blind)
#282E3D
Tritanopia (blue-blind)
#540F25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0d3f;
/* rgb */ color: rgb(79, 13, 63);
/* oklch */ color: oklch(30.0% 0.112 339.8);
Tailwind
colors: {
  custom: {
    50: '#835474',
    500: '#4f0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d3f;
$custom-light: #835474;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d3f",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 314.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29966,
    "c": 0.11217,
    "h": 339.8
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#4F0D3F
secondary
#2E8A44
accent
#EE6539
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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