#5F0F3E#5F0F3E

#5F0F3E is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.121 H 350.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5F0F3E
RGBrgb(95, 15, 62)
HSLhsl(325, 73%, 22%)
HSVhsv(325, 84%, 37%)
CMYKcmyk(0%, 84.2%, 34.7%, 62.7%)
CIE-LABlab(20.53, 38.94, -7.94)
CIE-LCHlch(20.53, 39.74, 348.47°)
OKLaboklab(33.1% 0.1193 -0.0207)
OKLCHoklch(33.1% 0.121 350.1)
XYZxyz(5.7600, 3.1230, 4.8560)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F3E #0F5F30
analogous
#580F5F #5F0F3E #5F0F16
triadic
#5F0F3E #3E5F0F #0F3E5F
tetradic
#5F0F3E #5F580F #0F5F30 #0F165F
square
#5F0F3E #5F580F #0F5F30 #0F165F
split-complementary
#5F0F3E #165F0F #0F5F58
monochromatic
#1A0411 #2A071C #5F0F3E #941760 #C92083

Accessibility & contrast

On white

12.93
#5F0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F3E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F3E#FFFFFF#000000##FFFFFF
##5F0F3E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#670925
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f3e;
/* rgb */ color: rgb(95, 15, 62);
/* oklch */ color: oklch(33.1% 0.121 350.1);
Tailwind
colors: {
  custom: {
    50: '#905873',
    500: '#5f0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f3e;
$custom-light: #905873;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f3e",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 324.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.12105,
    "h": 350.1
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#5F0F3E
secondary
#32985C
accent
#EF8438
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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