#5F122F#5F122F

#5F122F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.111 H 3.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5F122F
RGBrgb(95, 18, 47)
HSLhsl(337, 68%, 22%)
HSVhsv(337, 81%, 37%)
CMYKcmyk(0%, 81.1%, 50.5%, 62.7%)
CIE-LABlab(20.33, 36.21, 2.26)
CIE-LCHlch(20.33, 36.28, 3.58°)
OKLaboklab(32.77% 0.111 0.0062)
OKLCHoklch(32.77% 0.111 3.2)
XYZxyz(5.4492, 3.0715, 2.9947)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F122F #125F42
analogous
#5F1256 #5F122F #5F1C12
triadic
#5F122F #2F5F12 #122F5F
tetradic
#5F122F #565F12 #125F42 #1C125F
square
#5F122F #565F12 #125F42 #1C125F
split-complementary
#5F122F #125F1C #12565F
monochromatic
#1A050D #2C0816 #5F122F #921C48 #C62562

Accessibility & contrast

On white

13.01
#5F122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F122F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F122F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F122F#FFFFFF#000000##FFFFFF
##5F122F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#39362D
Tritanopia (blue-blind)
#68031F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f122f;
/* rgb */ color: rgb(95, 18, 47);
/* oklch */ color: oklch(32.8% 0.111 3.2);
Tailwind
colors: {
  custom: {
    50: '#915867',
    500: '#5f122f',
    950: '#000000',
  },
}
SCSS
$custom: #5f122f;
$custom-light: #915867;
$custom-dark: #000000;
JSON
{
  "hex": "#5f122f",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 337.403,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.11112,
    "h": 3.2
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#5F122F
secondary
#369772
accent
#EBA93D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F122F

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

Preview Lab → · Contrast checker → · Palette generator →

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