#942E28#942E28

#942E28 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.4% C 0.138 H 27.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#942E28
RGBrgb(148, 46, 40)
HSLhsl(3, 57%, 37%)
HSVhsv(3, 73%, 58%)
CMYKcmyk(0%, 68.9%, 73%, 42%)
CIE-LABlab(34.81, 42.33, 27.78)
CIE-LCHlch(34.81, 50.63, 33.27°)
OKLaboklab(45.43% 0.1225 0.0634)
OKLCHoklch(45.43% 0.138 27.4)
XYZxyz(13.5742, 8.4051, 2.9146)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E28 #288E94
analogous
#942858 #942E28 #946428
triadic
#942E28 #28942E #2E2894
tetradic
#942E28 #589428 #288E94 #642894
square
#942E28 #589428 #288E94 #642894
split-complementary
#942E28 #289464 #285894
monochromatic
#34100E #641F1B #942E28 #C43D35 #D56862

Accessibility & contrast

On white

7.83
#942E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#942E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E28
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E28#FFFFFF#000000##FFFFFF
##942E281.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4427
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#A3102D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #942e28;
/* rgb */ color: rgb(148, 46, 40);
/* oklch */ color: oklch(45.4% 0.138 27.4);
Tailwind
colors: {
  custom: {
    50: '#bb6d62',
    500: '#942e28',
    950: '#000000',
  },
}
SCSS
$custom: #942e28;
$custom-light: #bb6d62;
$custom-dark: #000000;
JSON
{
  "hex": "#942e28",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 3.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.13797,
    "h": 27.4
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#942E28
secondary
#5EB5BA
accent
#D8E147
background
#FCF6F5
surface
#F8ECEA
border
#D1C7C6
text
#130705
muted
#827A79

Preview Lab

Preview with #942E28

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

Preview Lab → · Contrast checker → · Palette generator →

#942E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva