#951831#951831

#951831 is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.7% C 0.158 H 16.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#951831
RGBrgb(149, 24, 49)
HSLhsl(348, 72%, 34%)
HSVhsv(348, 84%, 58%)
CMYKcmyk(0%, 83.9%, 67.1%, 41.6%)
CIE-LABlab(32.41, 50.78, 19.22)
CIE-LCHlch(32.41, 54.30, 20.73°)
OKLaboklab(43.72% 0.1513 0.0458)
OKLCHoklch(43.72% 0.158 16.8)
XYZxyz(13.2769, 7.2667, 3.6087)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951831 #18957C
analogous
#951870 #951831 #953E18
triadic
#951831 #319518 #183195
tetradic
#951831 #709518 #18957C #3E1895
square
#951831 #709518 #18957C #3E1895
split-complementary
#951831 #18953E #187095
monochromatic
#2C070E #601020 #951831 #CA2042 #E14665

Accessibility & contrast

On white

8.56
#951831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#951831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951831
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951831#FFFFFF#000000##FFFFFF
##9518311.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C31
Deuteranopia (green-blind)
#5E552D
Tritanopia (blue-blind)
#A40023
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #951831;
/* rgb */ color: rgb(149, 24, 49);
/* oklch */ color: oklch(43.7% 0.158 16.8);
Tailwind
colors: {
  custom: {
    50: '#bc6468',
    500: '#951831',
    950: '#000000',
  },
}
SCSS
$custom: #951831;
$custom-light: #bc6468;
$custom-dark: #000000;
JSON
{
  "hex": "#951831",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 348,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.15808,
    "h": 16.8
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#951831
secondary
#46C2AA
accent
#EFCB39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #951831

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

Preview Lab → · Contrast checker → · Palette generator →

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