#5F1430#5F1430

#5F1430 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.109 H 2.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5F1430
RGBrgb(95, 20, 48)
HSLhsl(338, 65%, 23%)
HSVhsv(338, 79%, 37%)
CMYKcmyk(0%, 78.9%, 49.5%, 62.7%)
CIE-LABlab(20.62, 35.57, 1.99)
CIE-LCHlch(20.62, 35.63, 3.20°)
OKLaboklab(32.99% 0.109 0.0055)
OKLCHoklch(32.99% 0.109 2.9)
XYZxyz(5.5034, 3.1473, 3.1134)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1430 #145F43
analogous
#5F1455 #5F1430 #5F1E14
triadic
#5F1430 #305F14 #14305F
tetradic
#5F1430 #555F14 #145F43 #1E145F
square
#5F1430 #555F14 #145F43 #1E145F
split-complementary
#5F1430 #145F1E #14555F
monochromatic
#19050D #2C0916 #5F1430 #921F4A #C42963

Accessibility & contrast

On white

12.89
#5F1430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1430
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1430#FFFFFF#000000##FFFFFF
##5F14301.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#39372E
Tritanopia (blue-blind)
#680620
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1430;
/* rgb */ color: rgb(95, 20, 48);
/* oklch */ color: oklch(33.0% 0.109 2.9);
Tailwind
colors: {
  custom: {
    50: '#915968',
    500: '#5f1430',
    950: '#000000',
  },
}
SCSS
$custom: #5f1430;
$custom-light: #915968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1430",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 48
  },
  "hsl": {
    "h": 337.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32994,
    "c": 0.1091,
    "h": 2.9
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#5F1430
secondary
#389773
accent
#E8A940
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1430

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

Preview Lab → · Contrast checker → · Palette generator →

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