#942227#942227

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

Color values

HEX#942227
RGBrgb(148, 34, 39)
HSLhsl(357, 63%, 36%)
HSVhsv(357, 77%, 58%)
CMYKcmyk(0%, 77%, 73.6%, 42%)
CIE-LABlab(33.11, 46.93, 26.42)
CIE-LCHlch(33.11, 53.86, 29.37°)
OKLaboklab(44.15% 0.1369 0.0602)
OKLCHoklch(44.15% 0.15 23.8)
XYZxyz(13.1525, 7.5885, 2.6912)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942227 #22948F
analogous
#942260 #942227 #945622
triadic
#942227 #279422 #222794
tetradic
#942227 #609422 #22948F #562294
square
#942227 #609422 #22948F #562294
split-complementary
#942227 #229456 #226094
monochromatic
#300B0D #62171A #942227 #C62D34 #D9585D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942227#FFFFFF#000000##FFFFFF
##9422271.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)
#443E26
Deuteranopia (green-blind)
#605723
Tritanopia (blue-blind)
#A30025
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #942227;
/* rgb */ color: rgb(148, 34, 39);
/* oklch */ color: oklch(44.2% 0.150 23.8);
Tailwind
colors: {
  custom: {
    50: '#bb6761',
    500: '#942227',
    950: '#000000',
  },
}
SCSS
$custom: #942227;
$custom-light: #bb6761;
$custom-dark: #000000;
JSON
{
  "hex": "#942227",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44154,
    "c": 0.14951,
    "h": 23.8
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#942227
secondary
#55BDB8
accent
#E6DF42
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130705
muted
#827A79

Preview Lab

Preview with #942227

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

Preview Lab → · Contrast checker → · Palette generator →

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