#5F142F#5F142F

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

Color values

HEX#5F142F
RGBrgb(95, 20, 47)
HSLhsl(338, 65%, 23%)
HSVhsv(338, 79%, 37%)
CMYKcmyk(0%, 78.9%, 50.5%, 62.7%)
CIE-LABlab(20.59, 35.47, 2.64)
CIE-LCHlch(20.59, 35.57, 4.26°)
OKLaboklab(32.96% 0.1086 0.0071)
OKLCHoklch(32.96% 0.109 3.8)
XYZxyz(5.4830, 3.1392, 3.0060)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F142F #145F44
analogous
#5F1454 #5F142F #5F1F14
triadic
#5F142F #2F5F14 #142F5F
tetradic
#5F142F #545F14 #145F44 #1F145F
square
#5F142F #545F14 #145F44 #1F145F
split-complementary
#5F142F #145F1F #14545F
monochromatic
#19050D #2C0916 #5F142F #921F48 #C42961

Accessibility & contrast

On white

12.90
#5F142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F142F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F142F#FFFFFF#000000##FFFFFF
##5F142F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262830
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#68061F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f142f;
/* rgb */ color: rgb(95, 20, 47);
/* oklch */ color: oklch(33.0% 0.109 3.8);
Tailwind
colors: {
  custom: {
    50: '#915967',
    500: '#5f142f',
    950: '#000000',
  },
}
SCSS
$custom: #5f142f;
$custom-light: #915967;
$custom-dark: #000000;
JSON
{
  "hex": "#5f142f",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 338.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32961,
    "c": 0.10879,
    "h": 3.8
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#5F142F
secondary
#389775
accent
#E8AB40
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F142F

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

Preview Lab → · Contrast checker → · Palette generator →

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