#5F0F2E#5F0F2E

#5F0F2E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.114 H 3.3°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5F0F2E
RGBrgb(95, 15, 46)
HSLhsl(337, 73%, 22%)
HSVhsv(337, 84%, 37%)
CMYKcmyk(0%, 84.2%, 51.6%, 62.7%)
CIE-LABlab(19.93, 37.14, 2.40)
CIE-LCHlch(19.93, 37.21, 3.70°)
OKLaboklab(32.46% 0.1139 0.0065)
OKLCHoklch(32.46% 0.114 3.3)
XYZxyz(5.3837, 2.9725, 2.8745)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F2E #0F5F40
analogous
#5F0F56 #5F0F2E #5F180F
triadic
#5F0F2E #2E5F0F #0F2E5F
tetradic
#5F0F2E #565F0F #0F5F40 #180F5F
square
#5F0F2E #565F0F #0F5F40 #180F5F
split-complementary
#5F0F2E #0F5F18 #0F565F
monochromatic
#1A040D #2A0714 #5F0F2E #941748 #C92061

Accessibility & contrast

On white

13.17
#5F0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F2E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F2E#FFFFFF#000000##FFFFFF
##5F0F2E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#38362C
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f2e;
/* rgb */ color: rgb(95, 15, 46);
/* oklch */ color: oklch(32.5% 0.114 3.3);
Tailwind
colors: {
  custom: {
    50: '#915766',
    500: '#5f0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f2e;
$custom-light: #915766;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f2e",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 336.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32465,
    "c": 0.11404,
    "h": 3.3
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#5F0F2E
secondary
#329870
accent
#EFA838
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5F0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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