#5F0F3B#5F0F3B

#5F0F3B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.119 H 352.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5F0F3B
RGBrgb(95, 15, 59)
HSLhsl(327, 73%, 22%)
HSVhsv(327, 84%, 37%)
CMYKcmyk(0%, 84.2%, 37.9%, 62.7%)
CIE-LABlab(20.40, 38.56, -6.04)
CIE-LCHlch(20.40, 39.03, 351.09°)
OKLaboklab(32.96% 0.1184 -0.0155)
OKLCHoklch(32.96% 0.119 352.5)
XYZxyz(5.6799, 3.0910, 4.4343)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F3B #0F5F33
analogous
#5B0F5F #5F0F3B #5F0F13
triadic
#5F0F3B #3B5F0F #0F3B5F
tetradic
#5F0F3B #5F5B0F #0F5F33 #0F135F
square
#5F0F3B #5F5B0F #0F5F33 #0F135F
split-complementary
#5F0F3B #135F0F #0F5F5B
monochromatic
#1A0410 #2A071A #5F0F3B #94175C #C9207D

Accessibility & contrast

On white

12.98
#5F0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F0F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F3B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F3B#FFFFFF#000000##FFFFFF
##5F0F3B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#353639
Tritanopia (blue-blind)
#670623
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f3b;
/* rgb */ color: rgb(95, 15, 59);
/* oklch */ color: oklch(33.0% 0.119 352.5);
Tailwind
colors: {
  custom: {
    50: '#905870',
    500: '#5f0f3b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f3b;
$custom-light: #905870;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f3b",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 327,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.11943,
    "h": 352.5
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#5F0F3B
secondary
#329860
accent
#EF8B38
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F0F3B

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

Preview Lab → · Contrast checker → · Palette generator →

#5F0F3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva