#51132E#51132E

#51132E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.096 H 357.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#51132E
RGBrgb(81, 19, 46)
HSLhsl(334, 62%, 20%)
HSVhsv(334, 77%, 32%)
CMYKcmyk(0%, 76.5%, 43.2%, 68.2%)
CIE-LABlab(17.52, 31.15, -1.47)
CIE-LCHlch(17.52, 31.19, 357.30°)
OKLaboklab(30.15% 0.0955 -0.0035)
OKLCHoklch(30.15% 0.096 357.9)
XYZxyz(4.1196, 2.4128, 2.8330)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51132E #135136
analogous
#51134D #51132E #511713
triadic
#51132E #2E5113 #132E51
tetradic
#51132E #4D5113 #135136 #171351
square
#51132E #4D5113 #135136 #171351
split-complementary
#51132E #135117 #134D51
monochromatic
#19060E #1F0712 #51132E #831F4A #B42A66

Accessibility & contrast

On white

14.17
#51132E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#51132E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51132E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51132E#FFFFFF#000000##FFFFFF
##51132E1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F242F
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#580C1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51132e;
/* rgb */ color: rgb(81, 19, 46);
/* oklch */ color: oklch(30.1% 0.096 357.9);
Tailwind
colors: {
  custom: {
    50: '#855666',
    500: '#51132e',
    950: '#000000',
  },
}
SCSS
$custom: #51132e;
$custom-light: #855666;
$custom-dark: #000000;
JSON
{
  "hex": "#51132e",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 46
  },
  "hsl": {
    "h": 333.871,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30149,
    "c": 0.09556,
    "h": 357.9
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#51132E
secondary
#368A65
accent
#E59E43
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51132E

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

Preview Lab → · Contrast checker → · Palette generator →

#51132E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva