#512641#512641

#512641 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.7% C 0.074 H 343.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#512641
RGBrgb(81, 38, 65)
HSLhsl(322, 36%, 23%)
HSVhsv(322, 53%, 32%)
CMYKcmyk(0%, 53.1%, 19.8%, 68.2%)
CIE-LABlab(22.01, 24.03, -8.01)
CIE-LCHlch(22.01, 25.33, 341.56°)
OKLaboklab(33.73% 0.0713 -0.0213)
OKLCHoklch(33.73% 0.074 343.4)
XYZxyz(5.0407, 3.5176, 5.4135)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512641 #265136
analogous
#4B2651 #512641 #51262B
triadic
#512641 #415126 #264151
tetradic
#512641 #514B26 #265136 #262B51
square
#512641 #514B26 #265136 #262B51
split-complementary
#512641 #2B5126 #26514B
monochromatic
#150A11 #271220 #512641 #7B3A62 #A44D84

Accessibility & contrast

On white

12.33
#512641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#512641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512641
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512641#FFFFFF#000000##FFFFFF
##5126411.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293042
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#562630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512641;
/* rgb */ color: rgb(81, 38, 65);
/* oklch */ color: oklch(33.7% 0.074 343.4);
Tailwind
colors: {
  custom: {
    50: '#836275',
    500: '#512641',
    950: '#000000',
  },
}
SCSS
$custom: #512641;
$custom-light: #836275;
$custom-dark: #000000;
JSON
{
  "hex": "#512641",
  "rgb": {
    "r": 81,
    "g": 38,
    "b": 65
  },
  "hsl": {
    "h": 322.326,
    "s": 36.134,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3373,
    "c": 0.0744,
    "h": 343.4
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#512641
secondary
#4F8463
accent
#CC865C
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #512641

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

Preview Lab → · Contrast checker → · Palette generator →

#512641 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva