#831938#831938

#831938 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.141 H 9.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#831938
RGBrgb(131, 25, 56)
HSLhsl(342, 68%, 31%)
HSVhsv(342, 81%, 51%)
CMYKcmyk(0%, 80.9%, 57.3%, 48.6%)
CIE-LABlab(28.92, 45.69, 9.28)
CIE-LCHlch(28.92, 46.62, 11.47°)
OKLaboklab(40.53% 0.1388 0.0235)
OKLCHoklch(40.53% 0.141 9.6)
XYZxyz(10.4225, 5.8076, 4.3128)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831938 #198364
analogous
#83196D #831938 #832F19
triadic
#831938 #388319 #193883
tetradic
#831938 #6D8319 #198364 #2F1983
square
#831938 #6D8319 #198364 #2F1983
split-complementary
#831938 #19832F #196D83
monochromatic
#1C050C #500F22 #831938 #B6234E #DA3D6B

Accessibility & contrast

On white

9.72
#831938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#831938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831938
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831938#FFFFFF#000000##FFFFFF
##8319381.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363739
Deuteranopia (green-blind)
#514C35
Tritanopia (blue-blind)
#900026
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831938;
/* rgb */ color: rgb(131, 25, 56);
/* oklch */ color: oklch(40.5% 0.141 9.6);
Tailwind
colors: {
  custom: {
    50: '#ad616e',
    500: '#831938',
    950: '#000000',
  },
}
SCSS
$custom: #831938;
$custom-light: #ad616e;
$custom-dark: #000000;
JSON
{
  "hex": "#831938",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 342.453,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.14072,
    "h": 9.6
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#831938
secondary
#41B794
accent
#EBB83D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #831938

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

Preview Lab → · Contrast checker → · Palette generator →

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