#582138#582138

#582138 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.086 H 356.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#582138
RGBrgb(88, 33, 56)
HSLhsl(335, 45%, 24%)
HSVhsv(335, 63%, 35%)
CMYKcmyk(0%, 62.5%, 36.4%, 65.5%)
CIE-LABlab(21.76, 28.06, -2.09)
CIE-LCHlch(21.76, 28.14, 355.74°)
OKLaboklab(33.67% 0.0855 -0.0051)
OKLCHoklch(33.67% 0.086 356.6)
XYZxyz(5.2824, 3.4485, 4.1280)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582138 #215841
analogous
#582153 #582138 #582521
triadic
#582138 #385821 #213858
tetradic
#582138 #535821 #215841 #252158
square
#582138 #535821 #215841 #252158
split-complementary
#582138 #215825 #215358
monochromatic
#16080E #2B101C #582138 #853254 #B14271

Accessibility & contrast

On white

12.43
#582138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#582138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582138
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582138#FFFFFF#000000##FFFFFF
##5821381.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2E39
Deuteranopia (green-blind)
#383837
Tritanopia (blue-blind)
#5F1D2A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #582138;
/* rgb */ color: rgb(88, 33, 56);
/* oklch */ color: oklch(33.7% 0.086 356.6);
Tailwind
colors: {
  custom: {
    50: '#8a5f6e',
    500: '#582138',
    950: '#000000',
  },
}
SCSS
$custom: #582138;
$custom-light: #8a5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#582138",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 334.909,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.08561,
    "h": 356.6
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#582138
secondary
#498C70
accent
#D59F53
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0507
muted
#7D797A

Preview Lab

Preview with #582138

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

Preview Lab → · Contrast checker → · Palette generator →

#582138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva