#831236#831236

#831236 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.146 H 9.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#831236
RGBrgb(131, 18, 54)
HSLhsl(341, 76%, 29%)
HSVhsv(341, 86%, 51%)
CMYKcmyk(0%, 86.3%, 58.8%, 48.6%)
CIE-LABlab(28.18, 47.50, 9.60)
CIE-LCHlch(28.18, 48.46, 11.43°)
OKLaboklab(39.98% 0.1443 0.0242)
OKLCHoklch(39.98% 0.146 9.5)
XYZxyz(10.2433, 5.5258, 4.0165)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831236 #12835F
analogous
#83126F #831236 #832712
triadic
#831236 #368312 #123683
tetradic
#831236 #6F8312 #12835F #271283
square
#831236 #6F8312 #12835F #271283
split-complementary
#831236 #128327 #126F83
monochromatic
#1B040B #4D0B20 #831236 #B9194C #E22D67

Accessibility & contrast

On white

9.98
#831236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#831236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831236
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831236#FFFFFF#000000##FFFFFF
##8312361.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333437
Deuteranopia (green-blind)
#504A33
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #831236;
/* rgb */ color: rgb(131, 18, 54);
/* oklch */ color: oklch(40.0% 0.146 9.5);
Tailwind
colors: {
  custom: {
    50: '#ad5f6c',
    500: '#831236',
    950: '#000000',
  },
}
SCSS
$custom: #831236;
$custom-light: #ad5f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#831236",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 340.885,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.14627,
    "h": 9.5
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#831236
secondary
#38B890
accent
#F2B635
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #831236

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

Preview Lab → · Contrast checker → · Palette generator →

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