#51123F#51123F

#51123F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.107 H 341.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#51123F
RGBrgb(81, 18, 63)
HSLhsl(317, 64%, 19%)
HSVhsv(317, 78%, 32%)
CMYKcmyk(0%, 77.8%, 22.2%, 68.2%)
CIE-LABlab(18.10, 33.97, -12.60)
CIE-LCHlch(18.10, 36.24, 339.65°)
OKLaboklab(30.82% 0.1017 -0.0339)
OKLCHoklch(30.82% 0.107 341.6)
XYZxyz(4.5070, 2.5413, 4.9548)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51123F #125124
analogous
#441251 #51123F #511220
triadic
#51123F #3F5112 #123F51
tetradic
#51123F #514412 #125124 #122051
square
#51123F #514412 #125124 #122051
split-complementary
#51123F #205112 #125144
monochromatic
#190613 #1F0718 #51123F #831D66 #B5288D

Accessibility & contrast

On white

13.92
#51123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#51123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51123F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51123F#FFFFFF#000000##FFFFFF
##51123F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172640
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#561326
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51123f;
/* rgb */ color: rgb(81, 18, 63);
/* oklch */ color: oklch(30.8% 0.107 341.6);
Tailwind
colors: {
  custom: {
    50: '#855774',
    500: '#51123f',
    950: '#000000',
  },
}
SCSS
$custom: #51123f;
$custom-light: #855774;
$custom-dark: #000000;
JSON
{
  "hex": "#51123f",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 317.143,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30818,
    "c": 0.10724,
    "h": 341.6
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#51123F
secondary
#358A4D
accent
#E77041
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #51123F

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

Preview Lab → · Contrast checker → · Palette generator →

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