#51233E#51233E

#51233E is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.078 H 345.9°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#51233E
RGBrgb(81, 35, 62)
HSLhsl(325, 40%, 23%)
HSVhsv(325, 57%, 32%)
CMYKcmyk(0%, 56.8%, 23.5%, 68.2%)
CIE-LABlab(21.21, 25.26, -7.17)
CIE-LCHlch(21.21, 26.26, 344.15°)
OKLaboklab(33.09% 0.0756 -0.0189)
OKLCHoklch(33.09% 0.078 345.9)
XYZxyz(4.8640, 3.2996, 4.9372)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51233E #235136
analogous
#4D2351 #51233E #512327
triadic
#51233E #3E5123 #233E51
tetradic
#51233E #514D23 #235136 #232751
square
#51233E #514D23 #235136 #232751
split-complementary
#51233E #275123 #23514D
monochromatic
#150910 #26111D #51233E #7C355F #A6487F

Accessibility & contrast

On white

12.65
#51233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#51233E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51233E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51233E#FFFFFF#000000##FFFFFF
##51233E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E3F
Deuteranopia (green-blind)
#33363D
Tritanopia (blue-blind)
#56222D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51233e;
/* rgb */ color: rgb(81, 35, 62);
/* oklch */ color: oklch(33.1% 0.078 345.9);
Tailwind
colors: {
  custom: {
    50: '#836073',
    500: '#51233e',
    950: '#000000',
  },
}
SCSS
$custom: #51233e;
$custom-light: #836073;
$custom-dark: #000000;
JSON
{
  "hex": "#51233e",
  "rgb": {
    "r": 81,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 324.783,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33089,
    "c": 0.07792,
    "h": 345.9
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#51233E
secondary
#4B8563
accent
#D08A58
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #51233E

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

Preview Lab → · Contrast checker → · Palette generator →

#51233E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva