#5F1226#5F1226

#5F1226 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.109 H 11.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5F1226
RGBrgb(95, 18, 38)
HSLhsl(344, 68%, 22%)
HSVhsv(344, 81%, 37%)
CMYKcmyk(0%, 81.1%, 60%, 62.7%)
CIE-LABlab(20.07, 35.38, 8.25)
CIE-LCHlch(20.07, 36.33, 13.13°)
OKLaboklab(32.49% 0.1072 0.0207)
OKLCHoklch(32.49% 0.109 11)
XYZxyz(5.2860, 3.0062, 2.1353)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1226 #125F4B
analogous
#5F124D #5F1226 #5F2512
triadic
#5F1226 #265F12 #12265F
tetradic
#5F1226 #4D5F12 #125F4B #25125F
square
#5F1226 #4D5F12 #125F4B #25125F
split-complementary
#5F1226 #125F25 #124D5F
monochromatic
#1A050A #2C0811 #5F1226 #921C3B #C6254F

Accessibility & contrast

On white

13.12
#5F1226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F1226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1226
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1226#FFFFFF#000000##FFFFFF
##5F12261.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1226;
/* rgb */ color: rgb(95, 18, 38);
/* oklch */ color: oklch(32.5% 0.109 11.0);
Tailwind
colors: {
  custom: {
    50: '#925860',
    500: '#5f1226',
    950: '#000000',
  },
}
SCSS
$custom: #5f1226;
$custom-light: #925860;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1226",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 344.416,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.10915,
    "h": 11
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#5F1226
secondary
#36977E
accent
#EBBE3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1226

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

Preview Lab → · Contrast checker → · Palette generator →

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