#942A2E#942A2E

#942A2E is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.141 H 22.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#942A2E
RGBrgb(148, 42, 46)
HSLhsl(358, 56%, 37%)
HSVhsv(358, 72%, 58%)
CMYKcmyk(0%, 71.6%, 68.9%, 42%)
CIE-LABlab(34.30, 44.31, 23.46)
CIE-LCHlch(34.30, 50.14, 27.90°)
OKLaboklab(45.07% 0.1301 0.0549)
OKLCHoklch(45.07% 0.141 22.9)
XYZxyz(13.5353, 8.1511, 3.4448)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942A2E #2A9490
analogous
#942A63 #942A2E #945B2A
triadic
#942A2E #2E942A #2A2E94
tetradic
#942A2E #63942A #2A9490 #5B2A94
square
#942A2E #63942A #2A9490 #5B2A94
split-complementary
#942A2E #2A945B #2A6394
monochromatic
#350F10 #641C1F #942A2E #C4383D #D36569

Accessibility & contrast

On white

7.99
#942A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#942A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942A2E
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942A2E#FFFFFF#000000##FFFFFF
##942A2E1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422D
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#A3082D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942a2e;
/* rgb */ color: rgb(148, 42, 46);
/* oklch */ color: oklch(45.1% 0.141 22.9);
Tailwind
colors: {
  custom: {
    50: '#ba6b66',
    500: '#942a2e',
    950: '#000000',
  },
}
SCSS
$custom: #942a2e;
$custom-light: #ba6b66;
$custom-dark: #000000;
JSON
{
  "hex": "#942a2e",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 357.736,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.14122,
    "h": 22.9
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#942A2E
secondary
#60B9B6
accent
#DFD949
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #942A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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