#51233B#51233B

#51233B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.0% C 0.076 H 349.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#51233B
RGBrgb(81, 35, 59)
HSLhsl(329, 40%, 23%)
HSVhsv(329, 57%, 32%)
CMYKcmyk(0%, 56.8%, 27.2%, 68.2%)
CIE-LABlab(21.09, 24.76, -5.29)
CIE-LCHlch(21.09, 25.32, 347.94°)
OKLaboklab(32.96% 0.0746 -0.0138)
OKLCHoklch(32.96% 0.076 349.5)
XYZxyz(4.7839, 3.2676, 4.5156)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51233B #235139
analogous
#502351 #51233B #512324
triadic
#51233B #3B5123 #233B51
tetradic
#51233B #515023 #235139 #232451
square
#51233B #515023 #235139 #232451
split-complementary
#51233B #245123 #235150
monochromatic
#150910 #26111C #51233B #7C355A #A64879

Accessibility & contrast

On white

12.70
#51233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#51233B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51233B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51233B#FFFFFF#000000##FFFFFF
##51233B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3C
Deuteranopia (green-blind)
#34363A
Tritanopia (blue-blind)
#57222C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51233b;
/* rgb */ color: rgb(81, 35, 59);
/* oklch */ color: oklch(33.0% 0.076 349.5);
Tailwind
colors: {
  custom: {
    50: '#846070',
    500: '#51233b',
    950: '#000000',
  },
}
SCSS
$custom: #51233b;
$custom-light: #846070;
$custom-dark: #000000;
JSON
{
  "hex": "#51233b",
  "rgb": {
    "r": 81,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 328.696,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.07582,
    "h": 349.5
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#51233B
secondary
#4B8567
accent
#D09158
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #51233B

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

Preview Lab → · Contrast checker → · Palette generator →

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