#5F122C#5F122C

#5F122C is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.110 H 5.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5F122C
RGBrgb(95, 18, 44)
HSLhsl(340, 68%, 22%)
HSVhsv(340, 81%, 37%)
CMYKcmyk(0%, 81.1%, 53.7%, 62.7%)
CIE-LABlab(20.24, 35.92, 4.25)
CIE-LCHlch(20.24, 36.17, 6.74°)
OKLaboklab(32.67% 0.1097 0.0111)
OKLCHoklch(32.67% 0.11 5.8)
XYZxyz(5.3907, 3.0481, 2.6869)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F122C #125F45
analogous
#5F1253 #5F122C #5F1E12
triadic
#5F122C #2C5F12 #122C5F
tetradic
#5F122C #535F12 #125F45 #1E125F
square
#5F122C #535F12 #125F45 #1E125F
split-complementary
#5F122C #125F1E #12535F
monochromatic
#1A050C #2C0814 #5F122C #921C44 #C6255C

Accessibility & contrast

On white

13.05
#5F122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F122C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F122C#FFFFFF#000000##FFFFFF
##5F122C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#68011D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f122c;
/* rgb */ color: rgb(95, 18, 44);
/* oklch */ color: oklch(32.7% 0.110 5.8);
Tailwind
colors: {
  custom: {
    50: '#915864',
    500: '#5f122c',
    950: '#000000',
  },
}
SCSS
$custom: #5f122c;
$custom-light: #915864;
$custom-dark: #000000;
JSON
{
  "hex": "#5f122c",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 339.74,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32667,
    "c": 0.11028,
    "h": 5.8
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#5F122C
secondary
#369776
accent
#EBB03D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F122C

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

Preview Lab → · Contrast checker → · Palette generator →

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