#551238#551238

#551238 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.106 H 350.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#551238
RGBrgb(85, 18, 56)
HSLhsl(326, 65%, 20%)
HSVhsv(326, 79%, 33%)
CMYKcmyk(0%, 78.8%, 34.1%, 66.7%)
CIE-LABlab(18.58, 34.15, -6.89)
CIE-LCHlch(18.58, 34.84, 348.59°)
OKLaboklab(31.21% 0.1043 -0.018)
OKLCHoklch(31.21% 0.106 350.2)
XYZxyz(4.6767, 2.6500, 4.0058)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551238 #12552F
analogous
#501255 #551238 #551216
triadic
#551238 #385512 #123855
tetradic
#551238 #555012 #12552F #121655
square
#551238 #555012 #12552F #121655
split-complementary
#551238 #165512 #125550
monochromatic
#190511 #220717 #551238 #881D59 #BA277B

Accessibility & contrast

On white

13.73
#551238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#551238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551238
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551238#FFFFFF#000000##FFFFFF
##5512381.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2639
Deuteranopia (green-blind)
#303236
Tritanopia (blue-blind)
#5C0E23
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #551238;
/* rgb */ color: rgb(85, 18, 56);
/* oklch */ color: oklch(31.2% 0.106 350.2);
Tailwind
colors: {
  custom: {
    50: '#88576e',
    500: '#551238',
    950: '#000000',
  },
}
SCSS
$custom: #551238;
$custom-light: #88576e;
$custom-dark: #000000;
JSON
{
  "hex": "#551238",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 325.97,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31212,
    "c": 0.10585,
    "h": 350.2
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#551238
secondary
#358E5B
accent
#E88940
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #551238

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

Preview Lab → · Contrast checker → · Palette generator →

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