#51202A#51202A

#51202A is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.074 H 9.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#51202A
RGBrgb(81, 32, 42)
HSLhsl(348, 43%, 22%)
HSVhsv(348, 60%, 32%)
CMYKcmyk(0%, 60.5%, 48.1%, 68.2%)
CIE-LABlab(19.84, 24.05, 4.71)
CIE-LCHlch(19.84, 24.51, 11.09°)
OKLaboklab(31.84% 0.073 0.0123)
OKLCHoklch(31.84% 0.074 9.6)
XYZxyz(4.3281, 2.9500, 2.5315)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51202A #205147
analogous
#512043 #51202A #512F20
triadic
#51202A #2A5120 #202A51
tetradic
#51202A #435120 #205147 #2F2051
square
#51202A #435120 #205147 #2F2051
split-complementary
#51202A #20512F #204351
monochromatic
#16090B #250F13 #51202A #7D3141 #A94357

Accessibility & contrast

On white

13.21
#51202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#51202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51202A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51202A#FFFFFF#000000##FFFFFF
##51202A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2A
Deuteranopia (green-blind)
#363429
Tritanopia (blue-blind)
#581A24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51202a;
/* rgb */ color: rgb(81, 32, 42);
/* oklch */ color: oklch(31.8% 0.074 9.6);
Tailwind
colors: {
  custom: {
    50: '#855d63',
    500: '#51202a',
    950: '#000000',
  },
}
SCSS
$custom: #51202a;
$custom-light: #855d63;
$custom-dark: #000000;
JSON
{
  "hex": "#51202a",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 347.755,
    "s": 43.363,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31836,
    "c": 0.07403,
    "h": 9.6
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#51202A
secondary
#478579
accent
#D3B955
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #51202A

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

Preview Lab → · Contrast checker → · Palette generator →

#51202A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva