#51243C#51243C

#51243C is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.2% C 0.075 H 348.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#51243C
RGBrgb(81, 36, 60)
HSLhsl(328, 38%, 23%)
HSVhsv(328, 56%, 32%)
CMYKcmyk(0%, 55.6%, 25.9%, 68.2%)
CIE-LABlab(21.35, 24.34, -5.58)
CIE-LCHlch(21.35, 24.97, 347.09°)
OKLaboklab(33.17% 0.0732 -0.0146)
OKLCHoklch(33.17% 0.075 348.7)
XYZxyz(4.8400, 3.3377, 4.6634)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51243C #245139
analogous
#4F2451 #51243C #512425
triadic
#51243C #3C5124 #243C51
tetradic
#51243C #514F24 #245139 #242551
square
#51243C #514F24 #245139 #242551
split-complementary
#51243C #255124 #24514F
monochromatic
#150910 #27111D #51243C #7B375B #A64A7B

Accessibility & contrast

On white

12.59
#51243C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51243C
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51243C#FFFFFF#000000##FFFFFF
##51243C1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3D
Deuteranopia (green-blind)
#35363B
Tritanopia (blue-blind)
#56232D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51243c;
/* rgb */ color: rgb(81, 36, 60);
/* oklch */ color: oklch(33.2% 0.075 348.7);
Tailwind
colors: {
  custom: {
    50: '#836071',
    500: '#51243c',
    950: '#000000',
  },
}
SCSS
$custom: #51243c;
$custom-light: #836071;
$custom-dark: #000000;
JSON
{
  "hex": "#51243c",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 60
  },
  "hsl": {
    "h": 328,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33169,
    "c": 0.07459,
    "h": 348.7
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#51243C
secondary
#4C8567
accent
#CE9059
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #51243C

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

Preview Lab → · Contrast checker → · Palette generator →

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