#5F123C#5F123C

#5F123C is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.117 H 352.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5F123C
RGBrgb(95, 18, 60)
HSLhsl(327, 68%, 22%)
HSVhsv(327, 81%, 37%)
CMYKcmyk(0%, 81.1%, 36.8%, 62.7%)
CIE-LABlab(20.80, 37.69, -6.15)
CIE-LCHlch(20.80, 38.18, 350.74°)
OKLaboklab(33.27% 0.1155 -0.0158)
OKLCHoklch(33.27% 0.117 352.2)
XYZxyz(5.7516, 3.1924, 4.5874)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F123C #125F35
analogous
#5C125F #5F123C #5F1215
triadic
#5F123C #3C5F12 #123C5F
tetradic
#5F123C #5F5C12 #125F35 #12155F
square
#5F123C #5F5C12 #125F35 #12155F
split-complementary
#5F123C #155F12 #125F5C
monochromatic
#1A0510 #2C081C #5F123C #921C5C #C6257D

Accessibility & contrast

On white

12.82
#5F123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F123C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F123C#FFFFFF#000000##FFFFFF
##5F123C1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293D
Deuteranopia (green-blind)
#36373A
Tritanopia (blue-blind)
#670B25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f123c;
/* rgb */ color: rgb(95, 18, 60);
/* oklch */ color: oklch(33.3% 0.117 352.2);
Tailwind
colors: {
  custom: {
    50: '#905971',
    500: '#5f123c',
    950: '#000000',
  },
}
SCSS
$custom: #5f123c;
$custom-light: #905971;
$custom-dark: #000000;
JSON
{
  "hex": "#5f123c",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 327.273,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33265,
    "c": 0.11661,
    "h": 352.2
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#5F123C
secondary
#369762
accent
#EB8C3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F123C

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

Preview Lab → · Contrast checker → · Palette generator →

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