#51293D#51293D

#51293D is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.1% C 0.066 H 349.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#51293D
RGBrgb(81, 41, 61)
HSLhsl(330, 33%, 24%)
HSVhsv(330, 49%, 32%)
CMYKcmyk(0%, 49.4%, 24.7%, 68.2%)
CIE-LABlab(22.56, 21.51, -4.46)
CIE-LCHlch(22.56, 21.96, 348.29°)
OKLaboklab(34.09% 0.0645 -0.0116)
OKLCHoklch(34.09% 0.066 349.8)
XYZxyz(5.0287, 3.6725, 4.8580)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51293D #29513D
analogous
#512951 #51293D #512929
triadic
#51293D #3D5129 #293D51
tetradic
#51293D #515129 #29513D #292951
square
#51293D #515129 #29513D #292951
split-complementary
#51293D #295129 #295151
monochromatic
#140A0F #28141E #51293D #7A3E5C #A2527A

Accessibility & contrast

On white

12.11
#51293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#51293D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51293D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51293D#FFFFFF#000000##FFFFFF
##51293D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D323E
Deuteranopia (green-blind)
#37383C
Tritanopia (blue-blind)
#562830
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #51293d;
/* rgb */ color: rgb(81, 41, 61);
/* oklch */ color: oklch(34.1% 0.066 349.8);
Tailwind
colors: {
  custom: {
    50: '#836472',
    500: '#51293d',
    950: '#000000',
  },
}
SCSS
$custom: #51293d;
$custom-light: #836472;
$custom-dark: #000000;
JSON
{
  "hex": "#51293d",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 330,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.0655,
    "h": 349.8
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#51293D
secondary
#52836B
accent
#C9945F
background
#F8F6F6
surface
#EFEBEC
border
#CAC6C7
text
#0B0508
muted
#7C7A7B

Preview Lab

Preview with #51293D

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

Preview Lab → · Contrast checker → · Palette generator →

#51293D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva