#831727#831727

#831727 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.142 H 19.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#831727
RGBrgb(131, 23, 39)
HSLhsl(351, 70%, 30%)
HSVhsv(351, 82%, 51%)
CMYKcmyk(0%, 82.4%, 70.2%, 48.6%)
CIE-LABlab(28.34, 45.17, 19.85)
CIE-LCHlch(28.34, 49.34, 23.72°)
OKLaboklab(39.99% 0.1336 0.0465)
OKLCHoklch(39.99% 0.142 19.2)
XYZxyz(10.0338, 5.5861, 2.4690)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831727 #178373
analogous
#83175D #831727 #833D17
triadic
#831727 #278317 #172783
tetradic
#831727 #5D8317 #178373 #3D1783
square
#831727 #5D8317 #178373 #3D1783
split-complementary
#831727 #17833D #175D83
monochromatic
#1B0508 #4F0E18 #831727 #B72036 #DC3851

Accessibility & contrast

On white

9.92
#831727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#831727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831727
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831727#FFFFFF#000000##FFFFFF
##8317271.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#90001E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831727;
/* rgb */ color: rgb(131, 23, 39);
/* oklch */ color: oklch(40.0% 0.142 19.2);
Tailwind
colors: {
  custom: {
    50: '#ae6061',
    500: '#831727',
    950: '#000000',
  },
}
SCSS
$custom: #831727;
$custom-light: #ae6061;
$custom-dark: #000000;
JSON
{
  "hex": "#831727",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 351.111,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.14151,
    "h": 19.2
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#831727
secondary
#3FB7A5
accent
#EDD33B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #831727

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

Preview Lab → · Contrast checker → · Palette generator →

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