#51183F#51183F

#51183F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.098 H 342.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#51183F
RGBrgb(81, 24, 63)
HSLhsl(319, 54%, 21%)
HSVhsv(319, 70%, 32%)
CMYKcmyk(0%, 70.4%, 22.2%, 68.2%)
CIE-LABlab(19.06, 31.30, -11.12)
CIE-LCHlch(19.06, 33.22, 340.44°)
OKLaboklab(31.52% 0.0936 -0.0298)
OKLCHoklch(31.52% 0.098 342.4)
XYZxyz(4.6173, 2.7619, 4.9916)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51183F #18512A
analogous
#461851 #51183F #511822
triadic
#51183F #3F5118 #183F51
tetradic
#51183F #514618 #18512A #182251
square
#51183F #514618 #18512A #182251
split-complementary
#51183F #225118 #185146
monochromatic
#180712 #220A1A #51183F #802664 #AF3488

Accessibility & contrast

On white

13.53
#51183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#51183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51183F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51183F#FFFFFF#000000##FFFFFF
##51183F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2840
Deuteranopia (green-blind)
#2D323E
Tritanopia (blue-blind)
#561829
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51183f;
/* rgb */ color: rgb(81, 24, 63);
/* oklch */ color: oklch(31.5% 0.098 342.4);
Tailwind
colors: {
  custom: {
    50: '#845974',
    500: '#51183f',
    950: '#000000',
  },
}
SCSS
$custom: #51183f;
$custom-light: #845974;
$custom-dark: #000000;
JSON
{
  "hex": "#51183f",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 318.947,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31519,
    "c": 0.09825,
    "h": 342.4
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#51183F
secondary
#3D8855
accent
#DE794A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #51183F

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

Preview Lab → · Contrast checker → · Palette generator →

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