#951827#951827

#951827 is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.5% C 0.158 H 21.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#951827
RGBrgb(149, 24, 39)
HSLhsl(353, 72%, 34%)
HSVhsv(353, 84%, 58%)
CMYKcmyk(0%, 83.9%, 73.8%, 41.6%)
CIE-LABlab(32.24, 50.27, 25.44)
CIE-LCHlch(32.24, 56.35, 26.84°)
OKLaboklab(43.54% 0.1474 0.058)
OKLCHoklch(43.54% 0.158 21.5)
XYZxyz(13.0888, 7.1914, 2.6180)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951827 #189586
analogous
#951866 #951827 #954818
triadic
#951827 #279518 #182795
tetradic
#951827 #669518 #189586 #481895
square
#951827 #669518 #189586 #481895
split-complementary
#951827 #189548 #186695
monochromatic
#2C070B #601019 #951827 #CA2035 #E14659

Accessibility & contrast

On white

8.61
#951827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#951827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951827
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951827#FFFFFF#000000##FFFFFF
##9518271.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5F5523
Tritanopia (blue-blind)
#A4001F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #951827;
/* rgb */ color: rgb(149, 24, 39);
/* oklch */ color: oklch(43.5% 0.158 21.5);
Tailwind
colors: {
  custom: {
    50: '#bc6461',
    500: '#951827',
    950: '#000000',
  },
}
SCSS
$custom: #951827;
$custom-light: #bc6461;
$custom-dark: #000000;
JSON
{
  "hex": "#951827",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 352.8,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.15837,
    "h": 21.5
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#951827
secondary
#46C2B4
accent
#EFD939
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #951827

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

Preview Lab → · Contrast checker → · Palette generator →

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