#51153F#51153F

#51153F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.103 H 341.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#51153F
RGBrgb(81, 21, 63)
HSLhsl(318, 59%, 20%)
HSVhsv(318, 74%, 32%)
CMYKcmyk(0%, 74.1%, 22.2%, 68.2%)
CIE-LABlab(18.56, 32.69, -11.90)
CIE-LCHlch(18.56, 34.79, 340.00°)
OKLaboklab(31.15% 0.0979 -0.0319)
OKLCHoklch(31.15% 0.103 341.9)
XYZxyz(4.5588, 2.6450, 4.9721)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51153F #155127
analogous
#451551 #51153F #511521
triadic
#51153F #3F5115 #153F51
tetradic
#51153F #514515 #155127 #152151
square
#51153F #514515 #155127 #152151
split-complementary
#51153F #215115 #155145
monochromatic
#180613 #200819 #51153F #822265 #B22E8B

Accessibility & contrast

On white

13.73
#51153F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#51153F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51153F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51153F#FFFFFF#000000##FFFFFF
##51153F1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#561627
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51153f;
/* rgb */ color: rgb(81, 21, 63);
/* oklch */ color: oklch(31.2% 0.103 341.9);
Tailwind
colors: {
  custom: {
    50: '#845874',
    500: '#51153f',
    950: '#000000',
  },
}
SCSS
$custom: #51153f;
$custom-light: #845874;
$custom-dark: #000000;
JSON
{
  "hex": "#51153f",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 63
  },
  "hsl": {
    "h": 318,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.10292,
    "h": 341.9
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#51153F
secondary
#398951
accent
#E27546
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #51153F

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

Preview Lab → · Contrast checker → · Palette generator →

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