#512129#512129

#512129 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.0% C 0.072 H 11.7°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#512129
RGBrgb(81, 33, 41)
HSLhsl(350, 42%, 22%)
HSVhsv(350, 59%, 32%)
CMYKcmyk(0%, 59.3%, 49.4%, 68.2%)
CIE-LABlab(20.03, 23.36, 5.68)
CIE-LCHlch(20.03, 24.04, 13.67°)
OKLaboklab(31.97% 0.0707 0.0147)
OKLCHoklch(31.97% 0.072 11.7)
XYZxyz(4.3377, 2.9976, 2.4476)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512129 #215149
analogous
#512141 #512129 #513121
triadic
#512129 #295121 #212951
tetradic
#512129 #415121 #215149 #312151
square
#512129 #415121 #215149 #312151
split-complementary
#512129 #215131 #214151
monochromatic
#16090B #260F13 #512129 #7C333F #A84455

Accessibility & contrast

On white

13.13
#512129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#512129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512129
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512129#FFFFFF#000000##FFFFFF
##5121291.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A29
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#581B24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #512129;
/* rgb */ color: rgb(81, 33, 41);
/* oklch */ color: oklch(32.0% 0.072 11.7);
Tailwind
colors: {
  custom: {
    50: '#855e62',
    500: '#512129',
    950: '#000000',
  },
}
SCSS
$custom: #512129;
$custom-light: #855e62;
$custom-dark: #000000;
JSON
{
  "hex": "#512129",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 350,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.07226,
    "h": 11.7
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#512129
secondary
#49857B
accent
#D2BD56
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #512129

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

Preview Lab → · Contrast checker → · Palette generator →

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