#5F0E2C#5F0E2C

#5F0E2C is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.114 H 4.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5F0E2C
RGBrgb(95, 14, 44)
HSLhsl(338, 74%, 21%)
HSVhsv(338, 85%, 37%)
CMYKcmyk(0%, 85.3%, 53.7%, 62.7%)
CIE-LABlab(19.76, 37.26, 3.57)
CIE-LCHlch(19.76, 37.43, 5.47°)
OKLaboklab(32.32% 0.1141 0.0094)
OKLCHoklch(32.32% 0.114 4.7)
XYZxyz(5.3315, 2.9296, 2.6671)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E2C #0E5F41
analogous
#5F0E55 #5F0E2C #5F190E
triadic
#5F0E2C #2C5F0E #0E2C5F
tetradic
#5F0E2C #555F0E #0E5F41 #190E5F
square
#5F0E2C #555F0E #0E5F41 #190E5F
split-complementary
#5F0E2C #0E5F19 #0E555F
monochromatic
#1B040C #2A0613 #5F0E2C #941645 #CA1E5D

Accessibility & contrast

On white

13.24
#5F0E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E2C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E2C#FFFFFF#000000##FFFFFF
##5F0E2C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262D
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0e2c;
/* rgb */ color: rgb(95, 14, 44);
/* oklch */ color: oklch(32.3% 0.114 4.7);
Tailwind
colors: {
  custom: {
    50: '#915764',
    500: '#5f0e2c',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e2c;
$custom-light: #915764;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e2c",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 337.778,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32317,
    "c": 0.11445,
    "h": 4.7
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#5F0E2C
secondary
#309972
accent
#F1AC37
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0305
muted
#7E787A

Preview Lab

Preview with #5F0E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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