#831235#831235

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

Color values

HEX#831235
RGBrgb(131, 18, 53)
HSLhsl(341, 76%, 29%)
HSVhsv(341, 86%, 51%)
CMYKcmyk(0%, 86.3%, 59.5%, 48.6%)
CIE-LABlab(28.16, 47.42, 10.24)
CIE-LCHlch(28.16, 48.52, 12.19°)
OKLaboklab(39.95% 0.1439 0.0256)
OKLCHoklch(39.95% 0.146 10.1)
XYZxyz(10.2200, 5.5165, 3.8941)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831235 #128360
analogous
#83126E #831235 #832812
triadic
#831235 #358312 #123583
tetradic
#831235 #6E8312 #128360 #281283
square
#831235 #6E8312 #128360 #281283
split-complementary
#831235 #128328 #126E83
monochromatic
#1B040B #4D0B1F #831235 #B9194B #E22D65

Accessibility & contrast

On white

9.99
#831235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831235
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831235#FFFFFF#000000##FFFFFF
##8312351.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333436
Deuteranopia (green-blind)
#504A32
Tritanopia (blue-blind)
#900022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #831235;
/* rgb */ color: rgb(131, 18, 53);
/* oklch */ color: oklch(39.9% 0.146 10.1);
Tailwind
colors: {
  custom: {
    50: '#ad5f6b',
    500: '#831235',
    950: '#000000',
  },
}
SCSS
$custom: #831235;
$custom-light: #ad5f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#831235",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 341.416,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.14612,
    "h": 10.1
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#831235
secondary
#38B891
accent
#F2B835
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #831235

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

Preview Lab → · Contrast checker → · Palette generator →

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