#51203E#51203E

#51203E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.084 H 345.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#51203E
RGBrgb(81, 32, 62)
HSLhsl(323, 43%, 22%)
HSVhsv(323, 60%, 32%)
CMYKcmyk(0%, 60.5%, 23.5%, 68.2%)
CIE-LABlab(20.56, 26.97, -8.15)
CIE-LCHlch(20.56, 28.17, 343.19°)
OKLaboklab(32.61% 0.0807 -0.0216)
OKLCHoklch(32.61% 0.084 345)
XYZxyz(4.7795, 3.1306, 4.9090)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51203E #205133
analogous
#4C2051 #51203E #512026
triadic
#51203E #3E5120 #203E51
tetradic
#51203E #514C20 #205133 #202651
square
#51203E #514C20 #205133 #202651
split-complementary
#51203E #265120 #20514C
monochromatic
#160911 #250F1C #51203E #7D3160 #A94381

Accessibility & contrast

On white

12.92
#51203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#51203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51203E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51203E#FFFFFF#000000##FFFFFF
##51203E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#32353D
Tritanopia (blue-blind)
#56202C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #51203e;
/* rgb */ color: rgb(81, 32, 62);
/* oklch */ color: oklch(32.6% 0.084 345.0);
Tailwind
colors: {
  custom: {
    50: '#845e73',
    500: '#51203e',
    950: '#000000',
  },
}
SCSS
$custom: #51203e;
$custom-light: #845e73;
$custom-dark: #000000;
JSON
{
  "hex": "#51203e",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 323.265,
    "s": 43.363,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32608,
    "c": 0.08356,
    "h": 345
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#51203E
secondary
#47855F
accent
#D38655
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #51203E

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

Preview Lab → · Contrast checker → · Palette generator →

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