#51142F#51142F

#51142F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.095 H 357.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#51142F
RGBrgb(81, 20, 47)
HSLhsl(333, 60%, 20%)
HSVhsv(333, 75%, 32%)
CMYKcmyk(0%, 75.3%, 42%, 68.2%)
CIE-LABlab(17.72, 30.84, -1.90)
CIE-LCHlch(17.72, 30.89, 356.48°)
OKLaboklab(30.31% 0.0945 -0.0046)
OKLCHoklch(30.31% 0.095 357.2)
XYZxyz(4.1569, 2.4554, 2.9438)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51142F #145136
analogous
#51144D #51142F #511814
triadic
#51142F #2F5114 #142F51
tetradic
#51142F #4D5114 #145136 #181451
square
#51142F #4D5114 #145136 #181451
split-complementary
#51142F #145118 #144D51
monochromatic
#19060E #200813 #51142F #82204B #B32C68

Accessibility & contrast

On white

14.08
#51142F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#51142F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51142F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51142F#FFFFFF#000000##FFFFFF
##51142F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202430
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#580E1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51142f;
/* rgb */ color: rgb(81, 20, 47);
/* oklch */ color: oklch(30.3% 0.095 357.2);
Tailwind
colors: {
  custom: {
    50: '#855767',
    500: '#51142f',
    950: '#000000',
  },
}
SCSS
$custom: #51142f;
$custom-light: #855767;
$custom-dark: #000000;
JSON
{
  "hex": "#51142f",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 47
  },
  "hsl": {
    "h": 333.443,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.09458,
    "h": 357.2
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#51142F
secondary
#388965
accent
#E49D44
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51142F

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

Preview Lab → · Contrast checker → · Palette generator →

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