#511123#511123

#511123 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 8.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#511123
RGBrgb(81, 17, 35)
HSLhsl(343, 65%, 19%)
HSVhsv(343, 79%, 32%)
CMYKcmyk(0%, 79%, 56.8%, 68.2%)
CIE-LABlab(16.85, 30.80, 5.48)
CIE-LCHlch(16.85, 31.29, 10.09°)
OKLaboklab(29.54% 0.0937 0.0141)
OKLCHoklch(29.54% 0.095 8.5)
XYZxyz(3.8975, 2.2721, 1.8231)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511123 #11513F
analogous
#511143 #511123 #511F11
triadic
#511123 #235111 #112351
tetradic
#511123 #435111 #11513F #1F1151
square
#511123 #435111 #11513F #1F1151
split-complementary
#511123 #11511F #114351
monochromatic
#19050B #1E060D #511123 #841C39 #B6264F

Accessibility & contrast

On white

14.44
#511123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511123
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511123#FFFFFF#000000##FFFFFF
##5111231.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212123
Deuteranopia (green-blind)
#312E21
Tritanopia (blue-blind)
#590418
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511123;
/* rgb */ color: rgb(81, 17, 35);
/* oklch */ color: oklch(29.5% 0.095 8.5);
Tailwind
colors: {
  custom: {
    50: '#86555d',
    500: '#511123',
    950: '#000000',
  },
}
SCSS
$custom: #511123;
$custom-light: #86555d;
$custom-dark: #000000;
JSON
{
  "hex": "#511123",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 343.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.09474,
    "h": 8.5
  },
  "luminance": 0.02272
}

Semantic roles & 50–950 ramp

primary
#511123
secondary
#348A72
accent
#E8B940
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511123

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

Preview Lab → · Contrast checker → · Palette generator →

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