#4F0F3A#4F0F3A

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

Color values

HEX#4F0F3A
RGBrgb(79, 15, 58)
HSLhsl(320, 68%, 18%)
HSVhsv(320, 81%, 31%)
CMYKcmyk(0%, 81%, 26.6%, 69%)
CIE-LABlab(17.04, 33.80, -10.77)
CIE-LCHlch(17.04, 35.48, 342.32°)
OKLaboklab(29.89% 0.1021 -0.0287)
OKLCHoklch(29.89% 0.106 344.3)
XYZxyz(4.1592, 2.3098, 4.2290)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F3A #0F4F24
analogous
#440F4F #4F0F3A #4F0F1A
triadic
#4F0F3A #3A4F0F #0F3A4F
tetradic
#4F0F3A #4F440F #0F4F24 #0F1A4F
square
#4F0F3A #4F440F #0F4F24 #0F1A4F
split-complementary
#4F0F3A #1A4F0F #0F4F44
monochromatic
#1A0513 #1C0514 #4F0F3A #821960 #B62386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F0F3A#FFFFFF#000000##FFFFFF
##4F0F3A1.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)
#16233B
Deuteranopia (green-blind)
#2A2E39
Tritanopia (blue-blind)
#550E23
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0f3a;
/* rgb */ color: rgb(79, 15, 58);
/* oklch */ color: oklch(29.9% 0.106 344.3);
Tailwind
colors: {
  custom: {
    50: '#835570',
    500: '#4f0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f3a;
$custom-light: #835570;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f3a",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 319.688,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29885,
    "c": 0.1061,
    "h": 344.3
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#4F0F3A
secondary
#31894E
accent
#EB763D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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