#58172F#58172F

#58172F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.098 H 1.8°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#58172F
RGBrgb(88, 23, 47)
HSLhsl(338, 59%, 22%)
HSVhsv(338, 74%, 35%)
CMYKcmyk(0%, 73.9%, 46.6%, 65.5%)
CIE-LABlab(19.61, 31.88, 1.05)
CIE-LCHlch(19.61, 31.90, 1.88°)
OKLaboklab(31.97% 0.0976 0.0031)
OKLCHoklch(31.97% 0.098 1.8)
XYZxyz(4.8443, 2.8933, 2.9921)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58172F #175840
analogous
#581750 #58172F #582017
triadic
#58172F #2F5817 #172F58
tetradic
#58172F #505817 #175840 #201758
square
#58172F #505817 #175840 #201758
split-complementary
#58172F #175820 #175058
monochromatic
#18060D #270A15 #58172F #892449 #B93063

Accessibility & contrast

On white

13.30
#58172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#58172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58172F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58172F#FFFFFF#000000##FFFFFF
##58172F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#600E21
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #58172f;
/* rgb */ color: rgb(88, 23, 47);
/* oklch */ color: oklch(32.0% 0.098 1.8);
Tailwind
colors: {
  custom: {
    50: '#8b5967',
    500: '#58172f',
    950: '#000000',
  },
}
SCSS
$custom: #58172f;
$custom-light: #8b5967;
$custom-dark: #000000;
JSON
{
  "hex": "#58172f",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 337.846,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.09763,
    "h": 1.8
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#58172F
secondary
#3C8F70
accent
#E2A846
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A

Preview Lab

Preview with #58172F

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

Preview Lab → · Contrast checker → · Palette generator →

#58172F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva