#942731#942731

#942731 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.8% C 0.144 H 20.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#942731
RGBrgb(148, 39, 49)
HSLhsl(354, 58%, 37%)
HSVhsv(354, 74%, 58%)
CMYKcmyk(0%, 73.6%, 66.9%, 42%)
CIE-LABlab(33.92, 45.66, 21.10)
CIE-LCHlch(33.92, 50.30, 24.80°)
OKLaboklab(44.81% 0.135 0.0501)
OKLCHoklch(44.81% 0.144 20.3)
XYZxyz(13.4941, 7.9707, 3.7331)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942731 #27948A
analogous
#942768 #942731 #945327
triadic
#942731 #319427 #273194
tetradic
#942731 #689427 #27948A #532794
square
#942731 #689427 #27948A #532794
split-complementary
#942731 #279453 #276894
monochromatic
#330D11 #641A21 #942731 #C43441 #D5606B

Accessibility & contrast

On white

8.10
#942731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#942731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942731
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942731#FFFFFF#000000##FFFFFF
##9427311.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#A3012C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942731;
/* rgb */ color: rgb(148, 39, 49);
/* oklch */ color: oklch(44.8% 0.144 20.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a69',
    500: '#942731',
    950: '#000000',
  },
}
SCSS
$custom: #942731;
$custom-light: #ba6a69;
$custom-dark: #000000;
JSON
{
  "hex": "#942731",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 354.495,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.144,
    "h": 20.3
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

primary
#942731
secondary
#5CBBB2
accent
#E2D346
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #942731

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

Preview Lab → · Contrast checker → · Palette generator →

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