#511234#511234

#511234 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.100 H 351.6°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#511234
RGBrgb(81, 18, 52)
HSLhsl(328, 64%, 19%)
HSVhsv(328, 78%, 32%)
CMYKcmyk(0%, 77.8%, 35.8%, 68.2%)
CIE-LABlab(17.60, 32.35, -5.63)
CIE-LCHlch(17.60, 32.84, 350.14°)
OKLaboklab(30.29% 0.0989 -0.0145)
OKLCHoklch(30.29% 0.1 351.6)
XYZxyz(4.2297, 2.4304, 3.4945)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511234 #12512F
analogous
#4F1251 #511234 #511215
triadic
#511234 #345112 #123451
tetradic
#511234 #514F12 #12512F #121551
square
#511234 #514F12 #12512F #121551
split-complementary
#511234 #155112 #12514F
monochromatic
#190610 #1F0714 #511234 #831D54 #B52874

Accessibility & contrast

On white

14.13
#511234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#511234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511234
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511234#FFFFFF#000000##FFFFFF
##5112341.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2435
Deuteranopia (green-blind)
#2E2F33
Tritanopia (blue-blind)
#580E21
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511234;
/* rgb */ color: rgb(81, 18, 52);
/* oklch */ color: oklch(30.3% 0.100 351.6);
Tailwind
colors: {
  custom: {
    50: '#85566b',
    500: '#511234',
    950: '#000000',
  },
}
SCSS
$custom: #511234;
$custom-light: #85566b;
$custom-dark: #000000;
JSON
{
  "hex": "#511234",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 327.619,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30285,
    "c": 0.09998,
    "h": 351.6
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#511234
secondary
#358A5C
accent
#E78D41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #511234

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

Preview Lab → · Contrast checker → · Palette generator →

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