#942228#942228

#942228 is a dark, vivid red. Relative luminance 0.076; OKLCH L 44.2% C 0.149 H 23.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#942228
RGBrgb(148, 34, 40)
HSLhsl(357, 63%, 36%)
HSVhsv(357, 77%, 58%)
CMYKcmyk(0%, 77%, 73%, 42%)
CIE-LABlab(33.13, 46.98, 25.81)
CIE-LCHlch(33.13, 53.60, 28.78°)
OKLaboklab(44.17% 0.1372 0.0591)
OKLCHoklch(44.17% 0.149 23.3)
XYZxyz(13.1693, 7.5952, 2.7797)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942228 #22948E
analogous
#942261 #942228 #945522
triadic
#942228 #289422 #222894
tetradic
#942228 #619422 #22948E #552294
square
#942228 #619422 #22948E #552294
split-complementary
#942228 #229455 #226194
monochromatic
#300B0D #62171B #942228 #C62D35 #D9585F

Accessibility & contrast

On white

8.34
#942228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#942228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942228
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942228#FFFFFF#000000##FFFFFF
##9422281.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E27
Deuteranopia (green-blind)
#605724
Tritanopia (blue-blind)
#A30025
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #942228;
/* rgb */ color: rgb(148, 34, 40);
/* oklch */ color: oklch(44.2% 0.149 23.3);
Tailwind
colors: {
  custom: {
    50: '#bb6762',
    500: '#942228',
    950: '#000000',
  },
}
SCSS
$custom: #942228;
$custom-light: #bb6762;
$custom-dark: #000000;
JSON
{
  "hex": "#942228",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.14941,
    "h": 23.3
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#942228
secondary
#55BDB7
accent
#E6DD42
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130705
muted
#827A79

Preview Lab

Preview with #942228

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

Preview Lab → · Contrast checker → · Palette generator →

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