#581238#581238

#581238 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.108 H 351.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#581238
RGBrgb(88, 18, 56)
HSLhsl(327, 66%, 21%)
HSVhsv(327, 80%, 35%)
CMYKcmyk(0%, 79.5%, 36.4%, 65.5%)
CIE-LABlab(19.20, 35.07, -5.91)
CIE-LCHlch(19.20, 35.57, 350.44°)
OKLaboklab(31.78% 0.1074 -0.0152)
OKLCHoklch(31.78% 0.108 351.9)
XYZxyz(4.9549, 2.7934, 4.0189)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581238 #125832
analogous
#551258 #581238 #581215
triadic
#581238 #385812 #123858
tetradic
#581238 #585512 #125832 #121558
square
#581238 #585512 #125832 #121558
split-complementary
#581238 #155812 #125855
monochromatic
#190510 #250818 #581238 #8B1C58 #BE2779

Accessibility & contrast

On white

13.47
#581238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#581238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581238
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581238#FFFFFF#000000##FFFFFF
##5812381.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2739
Deuteranopia (green-blind)
#323336
Tritanopia (blue-blind)
#5F0C23
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #581238;
/* rgb */ color: rgb(88, 18, 56);
/* oklch */ color: oklch(31.8% 0.108 351.9);
Tailwind
colors: {
  custom: {
    50: '#8b576e',
    500: '#581238',
    950: '#000000',
  },
}
SCSS
$custom: #581238;
$custom-light: #8b576e;
$custom-dark: #000000;
JSON
{
  "hex": "#581238",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 327.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.10847,
    "h": 351.9
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#581238
secondary
#35915F
accent
#E98D3F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #581238

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

Preview Lab → · Contrast checker → · Palette generator →

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