#51263D#51263D

#51263D is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.6% C 0.071 H 348.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#51263D
RGBrgb(81, 38, 61)
HSLhsl(328, 36%, 23%)
HSVhsv(328, 53%, 32%)
CMYKcmyk(0%, 53.1%, 24.7%, 68.2%)
CIE-LABlab(21.85, 23.32, -5.52)
CIE-LCHlch(21.85, 23.97, 346.68°)
OKLaboklab(33.56% 0.0699 -0.0144)
OKLCHoklch(33.56% 0.071 348.3)
XYZxyz(4.9289, 3.4729, 4.8247)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51263D #26513A
analogous
#4F2651 #51263D #512627
triadic
#51263D #3D5126 #263D51
tetradic
#51263D #514F26 #26513A #262751
square
#51263D #514F26 #26513A #262751
split-complementary
#51263D #275126 #26514F
monochromatic
#150A10 #27121E #51263D #7B3A5C #A44D7C

Accessibility & contrast

On white

12.39
#51263D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#51263D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51263D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51263D#FFFFFF#000000##FFFFFF
##51263D1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303E
Deuteranopia (green-blind)
#36373C
Tritanopia (blue-blind)
#56252F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #51263d;
/* rgb */ color: rgb(81, 38, 61);
/* oklch */ color: oklch(33.6% 0.071 348.3);
Tailwind
colors: {
  custom: {
    50: '#836272',
    500: '#51263d',
    950: '#000000',
  },
}
SCSS
$custom: #51263d;
$custom-light: #836272;
$custom-dark: #000000;
JSON
{
  "hex": "#51263d",
  "rgb": {
    "r": 81,
    "g": 38,
    "b": 61
  },
  "hsl": {
    "h": 327.907,
    "s": 36.134,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.07141,
    "h": 348.3
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#51263D
secondary
#4F8468
accent
#CC905C
background
#F8F5F6
surface
#EFEAEC
border
#CAC6C7
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #51263D

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

Preview Lab → · Contrast checker → · Palette generator →

#51263D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva