#51243F#51243F

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

Color values

HEX#51243F
RGBrgb(81, 36, 63)
HSLhsl(324, 38%, 23%)
HSVhsv(324, 56%, 32%)
CMYKcmyk(0%, 55.6%, 22.2%, 68.2%)
CIE-LABlab(21.47, 24.85, -7.46)
CIE-LCHlch(21.47, 25.95, 343.30°)
OKLaboklab(33.3% 0.0742 -0.0197)
OKLCHoklch(33.3% 0.077 345.1)
XYZxyz(4.9215, 3.3704, 5.0930)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51243F #245136
analogous
#4C2451 #51243F #512428
triadic
#51243F #3F5124 #243F51
tetradic
#51243F #514C24 #245136 #242851
square
#51243F #514C24 #245136 #242851
split-complementary
#51243F #285124 #24514C
monochromatic
#150910 #27111E #51243F #7B3760 #A64A81

Accessibility & contrast

On white

12.54
#51243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51243F
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51243F#FFFFFF#000000##FFFFFF
##51243F1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F40
Deuteranopia (green-blind)
#34363E
Tritanopia (blue-blind)
#56242E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51243f;
/* rgb */ color: rgb(81, 36, 63);
/* oklch */ color: oklch(33.3% 0.077 345.1);
Tailwind
colors: {
  custom: {
    50: '#836074',
    500: '#51243f',
    950: '#000000',
  },
}
SCSS
$custom: #51243f;
$custom-light: #836074;
$custom-dark: #000000;
JSON
{
  "hex": "#51243f",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 324,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.333,
    "c": 0.07675,
    "h": 345.1
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#51243F
secondary
#4C8563
accent
#CE8859
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #51243F

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

Preview Lab → · Contrast checker → · Palette generator →

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