#51143F#51143F

#51143F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.104 H 341.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#51143F
RGBrgb(81, 20, 63)
HSLhsl(318, 60%, 20%)
HSVhsv(318, 75%, 32%)
CMYKcmyk(0%, 75.3%, 22.2%, 68.2%)
CIE-LABlab(18.40, 33.13, -12.14)
CIE-LCHlch(18.40, 35.29, 339.88°)
OKLaboklab(31.04% 0.0992 -0.0326)
OKLCHoklch(31.04% 0.104 341.8)
XYZxyz(4.5408, 2.6090, 4.9661)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51143F #145126
analogous
#451451 #51143F #511421
triadic
#51143F #3F5114 #143F51
tetradic
#51143F #514514 #145126 #142151
square
#51143F #514514 #145126 #142151
split-complementary
#51143F #215114 #145145
monochromatic
#190613 #200819 #51143F #822065 #B32C8B

Accessibility & contrast

On white

13.80
#51143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#51143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51143F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51143F#FFFFFF#000000##FFFFFF
##51143F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192740
Deuteranopia (green-blind)
#2C303E
Tritanopia (blue-blind)
#561527
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51143f;
/* rgb */ color: rgb(81, 20, 63);
/* oklch */ color: oklch(31.0% 0.104 341.8);
Tailwind
colors: {
  custom: {
    50: '#845774',
    500: '#51143f',
    950: '#000000',
  },
}
SCSS
$custom: #51143f;
$custom-light: #845774;
$custom-dark: #000000;
JSON
{
  "hex": "#51143f",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 317.705,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.10439,
    "h": 341.8
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#51143F
secondary
#388950
accent
#E47344
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #51143F

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

Preview Lab → · Contrast checker → · Palette generator →

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