#5F0F2D#5F0F2D

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

Color values

HEX#5F0F2D
RGBrgb(95, 15, 45)
HSLhsl(338, 73%, 22%)
HSVhsv(338, 84%, 37%)
CMYKcmyk(0%, 84.2%, 52.6%, 62.7%)
CIE-LABlab(19.90, 37.04, 3.07)
CIE-LCHlch(19.90, 37.17, 4.73°)
OKLaboklab(32.43% 0.1134 0.0082)
OKLCHoklch(32.43% 0.114 4.1)
XYZxyz(5.3643, 2.9648, 2.7719)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F2D #0F5F41
analogous
#5F0F55 #5F0F2D #5F190F
triadic
#5F0F2D #2D5F0F #0F2D5F
tetradic
#5F0F2D #555F0F #0F5F41 #190F5F
square
#5F0F2D #555F0F #0F5F41 #190F5F
split-complementary
#5F0F2D #0F5F19 #0F555F
monochromatic
#1A040D #2A0714 #5F0F2D #941746 #C9205F

Accessibility & contrast

On white

13.18
#5F0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F2D
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F2D#FFFFFF#000000##FFFFFF
##5F0F2D1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0f2d;
/* rgb */ color: rgb(95, 15, 45);
/* oklch */ color: oklch(32.4% 0.114 4.1);
Tailwind
colors: {
  custom: {
    50: '#915765',
    500: '#5f0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f2d;
$custom-light: #915765;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f2d",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 337.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.11374,
    "h": 4.1
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#5F0F2D
secondary
#329872
accent
#EFAB38
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5F0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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