#5F0F38#5F0F38

#5F0F38 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.118 H 354.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5F0F38
RGBrgb(95, 15, 56)
HSLhsl(329, 73%, 22%)
HSVhsv(329, 84%, 37%)
CMYKcmyk(0%, 84.2%, 41.1%, 62.7%)
CIE-LABlab(20.29, 38.21, -4.12)
CIE-LCHlch(20.29, 38.43, 353.84°)
OKLaboklab(32.84% 0.1175 -0.0104)
OKLCHoklch(32.84% 0.118 354.9)
XYZxyz(5.6043, 3.0608, 4.0363)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F38 #0F5F36
analogous
#5E0F5F #5F0F38 #5F0F10
triadic
#5F0F38 #385F0F #0F385F
tetradic
#5F0F38 #5F5E0F #0F5F36 #0F105F
square
#5F0F38 #5F5E0F #0F5F36 #0F105F
split-complementary
#5F0F38 #105F0F #0F5F5E
monochromatic
#1A0410 #2A0719 #5F0F38 #941757 #C92076

Accessibility & contrast

On white

13.03
#5F0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F0F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F38
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F38#FFFFFF#000000##FFFFFF
##5F0F381.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#670422
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f38;
/* rgb */ color: rgb(95, 15, 56);
/* oklch */ color: oklch(32.8% 0.118 354.9);
Tailwind
colors: {
  custom: {
    50: '#90576e',
    500: '#5f0f38',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f38;
$custom-light: #90576e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f38",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 329.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.11794,
    "h": 354.9
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#5F0F38
secondary
#329864
accent
#EF9238
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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