#5F0F2A#5F0F2A

#5F0F2A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.113 H 6.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5F0F2A
RGBrgb(95, 15, 42)
HSLhsl(340, 73%, 22%)
HSVhsv(340, 84%, 37%)
CMYKcmyk(0%, 84.2%, 55.8%, 62.7%)
CIE-LABlab(19.81, 36.76, 5.06)
CIE-LCHlch(19.81, 37.11, 7.84°)
OKLaboklab(32.34% 0.1122 0.0131)
OKLCHoklch(32.34% 0.113 6.7)
XYZxyz(5.3085, 2.9425, 2.4785)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F2A #0F5F44
analogous
#5F0F52 #5F0F2A #5F1C0F
triadic
#5F0F2A #2A5F0F #0F2A5F
tetradic
#5F0F2A #525F0F #0F5F44 #1C0F5F
square
#5F0F2A #525F0F #0F5F44 #1C0F5F
split-complementary
#5F0F2A #0F5F1C #0F525F
monochromatic
#1A040C #2A0713 #5F0F2A #941741 #C92059

Accessibility & contrast

On white

13.22
#5F0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F2A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F2A#FFFFFF#000000##FFFFFF
##5F0F2A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262B
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f2a;
/* rgb */ color: rgb(95, 15, 42);
/* oklch */ color: oklch(32.3% 0.113 6.7);
Tailwind
colors: {
  custom: {
    50: '#915763',
    500: '#5f0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f2a;
$custom-light: #915763;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f2a",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 339.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32336,
    "c": 0.11297,
    "h": 6.7
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#5F0F2A
secondary
#329876
accent
#EFB238
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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