#5F1225#5F1225

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

Color values

HEX#5F1225
RGBrgb(95, 18, 37)
HSLhsl(345, 68%, 22%)
HSVhsv(345, 81%, 37%)
CMYKcmyk(0%, 81.1%, 61.1%, 62.7%)
CIE-LABlab(20.04, 35.30, 8.93)
CIE-LCHlch(20.04, 36.41, 14.19°)
OKLaboklab(32.46% 0.1067 0.0223)
OKLCHoklch(32.46% 0.109 11.8)
XYZxyz(5.2701, 2.9998, 2.0514)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1225 #125F4C
analogous
#5F124C #5F1225 #5F2612
triadic
#5F1225 #255F12 #12255F
tetradic
#5F1225 #4C5F12 #125F4C #26125F
square
#5F1225 #4C5F12 #125F4C #26125F
split-complementary
#5F1225 #125F26 #124C5F
monochromatic
#1A050A #2C0811 #5F1225 #921C39 #C6254D

Accessibility & contrast

On white

13.13
#5F1225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1225
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1225#FFFFFF#000000##FFFFFF
##5F12251.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1225;
/* rgb */ color: rgb(95, 18, 37);
/* oklch */ color: oklch(32.5% 0.109 11.8);
Tailwind
colors: {
  custom: {
    50: '#92585f',
    500: '#5f1225',
    950: '#000000',
  },
}
SCSS
$custom: #5f1225;
$custom-light: #92585f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1225",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 37
  },
  "hsl": {
    "h": 345.195,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32463,
    "c": 0.10902,
    "h": 11.8
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#5F1225
secondary
#36977F
accent
#EBC03D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1225

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

Preview Lab → · Contrast checker → · Palette generator →

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