#51153B#51153B

#51153B is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.100 H 345.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#51153B
RGBrgb(81, 21, 59)
HSLhsl(322, 59%, 20%)
HSVhsv(322, 74%, 32%)
CMYKcmyk(0%, 74.1%, 27.2%, 68.2%)
CIE-LABlab(18.37, 32.06, -9.39)
CIE-LCHlch(18.37, 33.41, 343.67°)
OKLaboklab(30.95% 0.0969 -0.0249)
OKLCHoklch(30.95% 0.1 345.6)
XYZxyz(4.4511, 2.6019, 4.4046)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51153B #15512B
analogous
#491551 #51153B #51151D
triadic
#51153B #3B5115 #153B51
tetradic
#51153B #514915 #15512B #151D51
square
#51153B #514915 #15512B #151D51
split-complementary
#51153B #1D5115 #155149
monochromatic
#180612 #200818 #51153B #82225E #B22E82

Accessibility & contrast

On white

13.81
#51153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#51153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51153B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51153B#FFFFFF#000000##FFFFFF
##51153B1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263C
Deuteranopia (green-blind)
#2D313A
Tritanopia (blue-blind)
#571425
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51153b;
/* rgb */ color: rgb(81, 21, 59);
/* oklch */ color: oklch(31.0% 0.100 345.6);
Tailwind
colors: {
  custom: {
    50: '#845871',
    500: '#51153b',
    950: '#000000',
  },
}
SCSS
$custom: #51153b;
$custom-light: #845871;
$custom-dark: #000000;
JSON
{
  "hex": "#51153b",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 322,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30951,
    "c": 0.10003,
    "h": 345.6
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#51153B
secondary
#398956
accent
#E27F46
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #51153B

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

Preview Lab → · Contrast checker → · Palette generator →

#51153B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva