#511125#511125

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

Color values

HEX#511125
RGBrgb(81, 17, 37)
HSLhsl(341, 65%, 19%)
HSVhsv(341, 79%, 32%)
CMYKcmyk(0%, 79%, 54.3%, 68.2%)
CIE-LABlab(16.91, 31.00, 4.12)
CIE-LCHlch(16.91, 31.27, 7.57°)
OKLaboklab(29.6% 0.0946 0.0107)
OKLCHoklch(29.6% 0.095 6.5)
XYZxyz(3.9281, 2.2843, 1.9840)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511125 #11513D
analogous
#511145 #511125 #511D11
triadic
#511125 #255111 #112551
tetradic
#511125 #455111 #11513D #1D1151
square
#511125 #455111 #11513D #1D1151
split-complementary
#511125 #11511D #114551
monochromatic
#19050C #1E060E #511125 #841C3C #B62653

Accessibility & contrast

On white

14.42
#511125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#511125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511125
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511125#FFFFFF#000000##FFFFFF
##5111251.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202225
Deuteranopia (green-blind)
#312E23
Tritanopia (blue-blind)
#590519
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511125;
/* rgb */ color: rgb(81, 17, 37);
/* oklch */ color: oklch(29.6% 0.095 6.5);
Tailwind
colors: {
  custom: {
    50: '#86555f',
    500: '#511125',
    950: '#000000',
  },
}
SCSS
$custom: #511125;
$custom-light: #86555f;
$custom-dark: #000000;
JSON
{
  "hex": "#511125",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 37
  },
  "hsl": {
    "h": 341.25,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.09517,
    "h": 6.5
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#511125
secondary
#348A6F
accent
#E8B440
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #511125

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

Preview Lab → · Contrast checker → · Palette generator →

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