#5F1125#5F1125

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

Color values

HEX#5F1125
RGBrgb(95, 17, 37)
HSLhsl(345, 70%, 22%)
HSVhsv(345, 82%, 37%)
CMYKcmyk(0%, 82.1%, 61.1%, 62.7%)
CIE-LABlab(19.92, 35.66, 8.75)
CIE-LCHlch(19.92, 36.72, 13.79°)
OKLaboklab(32.37% 0.1079 0.0219)
OKLCHoklch(32.37% 0.11 11.5)
XYZxyz(5.2542, 2.9681, 2.0461)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1125 #115F4B
analogous
#5F114C #5F1125 #5F2411
triadic
#5F1125 #255F11 #11255F
tetradic
#5F1125 #4C5F11 #115F4B #24115F
square
#5F1125 #4C5F11 #115F4B #24115F
split-complementary
#5F1125 #115F24 #114C5F
monochromatic
#1A050A #2B0811 #5F1125 #931A39 #C7244D

Accessibility & contrast

On white

13.18
#5F1125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1125
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1125#FFFFFF#000000##FFFFFF
##5F11251.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262625
Deuteranopia (green-blind)
#3A3623
Tritanopia (blue-blind)
#69001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1125;
/* rgb */ color: rgb(95, 17, 37);
/* oklch */ color: oklch(32.4% 0.110 11.5);
Tailwind
colors: {
  custom: {
    50: '#92575f',
    500: '#5f1125',
    950: '#000000',
  },
}
SCSS
$custom: #5f1125;
$custom-light: #92575f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1125",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 37
  },
  "hsl": {
    "h": 344.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.11007,
    "h": 11.5
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#5F1125
secondary
#34987E
accent
#ECBF3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1125

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

Preview Lab → · Contrast checker → · Palette generator →

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