#5F1930#5F1930

#5F1930 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.103 H 4.6°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F1930
RGBrgb(95, 25, 48)
HSLhsl(340, 58%, 24%)
HSVhsv(340, 74%, 37%)
CMYKcmyk(0%, 73.7%, 49.5%, 62.7%)
CIE-LABlab(21.37, 33.51, 3.05)
CIE-LCHlch(21.37, 33.65, 5.21°)
OKLaboklab(33.54% 0.1024 0.0082)
OKLCHoklch(33.54% 0.103 4.6)
XYZxyz(5.6009, 3.3423, 3.1459)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1930 #195F48
analogous
#5F1953 #5F1930 #5F2519
triadic
#5F1930 #305F19 #19305F
tetradic
#5F1930 #535F19 #195F48 #25195F
square
#5F1930 #535F19 #195F48 #25195F
split-complementary
#5F1930 #195F25 #19535F
monochromatic
#18060C #2F0C18 #5F1930 #8F2648 #C03261

Accessibility & contrast

On white

12.59
#5F1930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1930
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1930#FFFFFF#000000##FFFFFF
##5F19301.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B31
Deuteranopia (green-blind)
#3B382E
Tritanopia (blue-blind)
#680E22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1930;
/* rgb */ color: rgb(95, 25, 48);
/* oklch */ color: oklch(33.5% 0.103 4.6);
Tailwind
colors: {
  custom: {
    50: '#905b68',
    500: '#5f1930',
    950: '#000000',
  },
}
SCSS
$custom: #5f1930;
$custom-light: #905b68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1930",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 48
  },
  "hsl": {
    "h": 340.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33542,
    "c": 0.1027,
    "h": 4.6
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#5F1930
secondary
#3F9579
accent
#E2AF46
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1930

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

Preview Lab → · Contrast checker → · Palette generator →

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