#51243E#51243E

#51243E is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.3% C 0.076 H 346.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#51243E
RGBrgb(81, 36, 62)
HSLhsl(325, 38%, 23%)
HSVhsv(325, 56%, 32%)
CMYKcmyk(0%, 55.6%, 23.5%, 68.2%)
CIE-LABlab(21.43, 24.68, -6.83)
CIE-LCHlch(21.43, 25.61, 344.52°)
OKLaboklab(33.26% 0.0738 -0.018)
OKLCHoklch(33.26% 0.076 346.3)
XYZxyz(4.8938, 3.3593, 4.9472)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51243E #245137
analogous
#4D2451 #51243E #512427
triadic
#51243E #3E5124 #243E51
tetradic
#51243E #514D24 #245137 #242751
square
#51243E #514D24 #245137 #242751
split-complementary
#51243E #275124 #24514D
monochromatic
#150910 #27111E #51243E #7B375E #A64A7F

Accessibility & contrast

On white

12.56
#51243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#51243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51243E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51243E#FFFFFF#000000##FFFFFF
##51243E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F3F
Deuteranopia (green-blind)
#34363D
Tritanopia (blue-blind)
#56232E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51243e;
/* rgb */ color: rgb(81, 36, 62);
/* oklch */ color: oklch(33.3% 0.076 346.3);
Tailwind
colors: {
  custom: {
    50: '#836073',
    500: '#51243e',
    950: '#000000',
  },
}
SCSS
$custom: #51243e;
$custom-light: #836073;
$custom-dark: #000000;
JSON
{
  "hex": "#51243e",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 325.333,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33256,
    "c": 0.076,
    "h": 346.3
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#51243E
secondary
#4C8564
accent
#CE8B59
background
#F8F5F6
surface
#EFEAEC
border
#CAC6C7
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #51243E

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

Preview Lab → · Contrast checker → · Palette generator →

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