#51142B#51142B

#51142B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.093 H 1.4°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#51142B
RGBrgb(81, 20, 43)
HSLhsl(337, 60%, 20%)
HSVhsv(337, 75%, 32%)
CMYKcmyk(0%, 75.3%, 46.9%, 68.2%)
CIE-LABlab(17.57, 30.35, 0.75)
CIE-LCHlch(17.57, 30.36, 1.42°)
OKLaboklab(30.15% 0.0929 0.0023)
OKLCHoklch(30.15% 0.093 1.4)
XYZxyz(4.0798, 2.4246, 2.5382)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51142B #14513A
analogous
#51144A #51142B #511C14
triadic
#51142B #2B5114 #142B51
tetradic
#51142B #4A5114 #14513A #1C1451
square
#51142B #4A5114 #14513A #1C1451
split-complementary
#51142B #14511C #144A51
monochromatic
#19060D #200811 #51142B #822045 #B32C5F

Accessibility & contrast

On white

14.14
#51142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#51142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51142B
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51142B#FFFFFF#000000##FFFFFF
##51142B1.0014.141.4814.14
#FFFFFF14.141.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#580C1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51142b;
/* rgb */ color: rgb(81, 20, 43);
/* oklch */ color: oklch(30.2% 0.093 1.4);
Tailwind
colors: {
  custom: {
    50: '#855764',
    500: '#51142b',
    950: '#000000',
  },
}
SCSS
$custom: #51142b;
$custom-light: #855764;
$custom-dark: #000000;
JSON
{
  "hex": "#51142b",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 337.377,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30155,
    "c": 0.09295,
    "h": 1.4
  },
  "luminance": 0.02424
}

Semantic roles & 50–950 ramp

primary
#51142B
secondary
#38896A
accent
#E4A744
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #51142B

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

Preview Lab → · Contrast checker → · Palette generator →

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