#942834#942834

#942834 is a dark, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.143 H 19.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#942834
RGBrgb(148, 40, 52)
HSLhsl(353, 57%, 37%)
HSVhsv(353, 73%, 58%)
CMYKcmyk(0%, 73%, 64.9%, 42%)
CIE-LABlab(34.11, 45.46, 19.43)
CIE-LCHlch(34.11, 49.44, 23.14°)
OKLaboklab(44.97% 0.135 0.0466)
OKLCHoklch(44.97% 0.143 19)
XYZxyz(13.5928, 8.0634, 4.0888)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942834 #289488
analogous
#94286A #942834 #945228
triadic
#942834 #349428 #283494
tetradic
#942834 #6A9428 #289488 #522894
square
#942834 #6A9428 #289488 #522894
split-complementary
#942834 #289452 #286A94
monochromatic
#340E12 #641B23 #942834 #C43545 #D5626F

Accessibility & contrast

On white

8.04
#942834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#942834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942834
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942834#FFFFFF#000000##FFFFFF
##9428341.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464234
Deuteranopia (green-blind)
#615931
Tritanopia (blue-blind)
#A3052D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942834;
/* rgb */ color: rgb(148, 40, 52);
/* oklch */ color: oklch(45.0% 0.143 19.0);
Tailwind
colors: {
  custom: {
    50: '#ba6a6b',
    500: '#942834',
    950: '#000000',
  },
}
SCSS
$custom: #942834;
$custom-light: #ba6a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#942834",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 353.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4497,
    "c": 0.14284,
    "h": 19
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#942834
secondary
#5EBAB0
accent
#E1D047
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #942834

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

Preview Lab → · Contrast checker → · Palette generator →

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