#511233#511233

#511233 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.099 H 352.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#511233
RGBrgb(81, 18, 51)
HSLhsl(329, 64%, 19%)
HSVhsv(329, 78%, 32%)
CMYKcmyk(0%, 77.8%, 37%, 68.2%)
CIE-LABlab(17.56, 32.22, -4.98)
CIE-LCHlch(17.56, 32.60, 351.22°)
OKLaboklab(30.24% 0.0986 -0.0128)
OKLCHoklch(30.24% 0.099 352.6)
XYZxyz(4.2074, 2.4214, 3.3771)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511233 #125130
analogous
#501251 #511233 #511214
triadic
#511233 #335112 #123351
tetradic
#511233 #515012 #125130 #121451
square
#511233 #515012 #125130 #121451
split-complementary
#511233 #145112 #125150
monochromatic
#190610 #1F0713 #511233 #831D53 #B52872

Accessibility & contrast

On white

14.15
#511233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511233
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511233#FFFFFF#000000##FFFFFF
##5112331.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2434
Deuteranopia (green-blind)
#2F2F32
Tritanopia (blue-blind)
#580D20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511233;
/* rgb */ color: rgb(81, 18, 51);
/* oklch */ color: oklch(30.2% 0.099 352.6);
Tailwind
colors: {
  custom: {
    50: '#85566a',
    500: '#511233',
    950: '#000000',
  },
}
SCSS
$custom: #511233;
$custom-light: #85566a;
$custom-dark: #000000;
JSON
{
  "hex": "#511233",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 328.571,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.09943,
    "h": 352.6
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#511233
secondary
#358A5D
accent
#E79041
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511233

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

Preview Lab → · Contrast checker → · Palette generator →

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