#942835#942835

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

Color values

HEX#942835
RGBrgb(148, 40, 53)
HSLhsl(353, 57%, 37%)
HSVhsv(353, 73%, 58%)
CMYKcmyk(0%, 73%, 64.2%, 42%)
CIE-LABlab(34.13, 45.53, 18.81)
CIE-LCHlch(34.13, 49.26, 22.45°)
OKLaboklab(44.99% 0.1354 0.0453)
OKLCHoklch(44.99% 0.143 18.5)
XYZxyz(13.6155, 8.0725, 4.2087)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942835 #289487
analogous
#94286B #942835 #945128
triadic
#942835 #359428 #283594
tetradic
#942835 #6B9428 #289487 #512894
square
#942835 #6B9428 #289487 #512894
split-complementary
#942835 #289451 #286B94
monochromatic
#340E12 #641B24 #942835 #C43546 #D56270

Accessibility & contrast

On white

8.03
#942835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942835
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942835#FFFFFF#000000##FFFFFF
##9428351.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454235
Deuteranopia (green-blind)
#615932
Tritanopia (blue-blind)
#A3062E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #942835;
/* rgb */ color: rgb(148, 40, 53);
/* oklch */ color: oklch(45.0% 0.143 18.5);
Tailwind
colors: {
  custom: {
    50: '#ba6a6c',
    500: '#942835',
    950: '#000000',
  },
}
SCSS
$custom: #942835;
$custom-light: #ba6a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#942835",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 53
  },
  "hsl": {
    "h": 352.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.14282,
    "h": 18.5
  },
  "luminance": 0.08071
}

Semantic roles & 50–950 ramp

primary
#942835
secondary
#5EBAAF
accent
#E1CE47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #942835

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

Preview Lab → · Contrast checker → · Palette generator →

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