#951828#951828

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

Color values

HEX#951828
RGBrgb(149, 24, 40)
HSLhsl(352, 72%, 34%)
HSVhsv(352, 84%, 58%)
CMYKcmyk(0%, 83.9%, 73.2%, 41.6%)
CIE-LABlab(32.25, 50.32, 24.83)
CIE-LCHlch(32.25, 56.11, 26.26°)
OKLaboklab(43.56% 0.1477 0.0569)
OKLCHoklch(43.56% 0.158 21.1)
XYZxyz(13.1056, 7.1981, 2.7064)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951828 #189585
analogous
#951867 #951828 #954718
triadic
#951828 #289518 #182895
tetradic
#951828 #679518 #189585 #471895
square
#951828 #679518 #189585 #471895
split-complementary
#951828 #189547 #186795
monochromatic
#2C070C #60101A #951828 #CA2036 #E1465A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##951828#FFFFFF#000000##FFFFFF
##9518281.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)
#403B27
Deuteranopia (green-blind)
#5F5524
Tritanopia (blue-blind)
#A40020
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #951828;
/* rgb */ color: rgb(149, 24, 40);
/* oklch */ color: oklch(43.6% 0.158 21.1);
Tailwind
colors: {
  custom: {
    50: '#bc6461',
    500: '#951828',
    950: '#000000',
  },
}
SCSS
$custom: #951828;
$custom-light: #bc6461;
$custom-dark: #000000;
JSON
{
  "hex": "#951828",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 352.32,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4356,
    "c": 0.15831,
    "h": 21.1
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#951828
secondary
#46C2B3
accent
#EFD839
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #951828

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

Preview Lab → · Contrast checker → · Palette generator →

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