#942A2F#942A2F

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

Color values

HEX#942A2F
RGBrgb(148, 42, 47)
HSLhsl(357, 56%, 37%)
HSVhsv(357, 72%, 58%)
CMYKcmyk(0%, 71.6%, 68.2%, 42%)
CIE-LABlab(34.31, 44.37, 22.85)
CIE-LCHlch(34.31, 49.91, 27.25°)
OKLaboklab(45.09% 0.1305 0.0537)
OKLCHoklch(45.09% 0.141 22.4)
XYZxyz(13.5552, 8.1590, 3.5499)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942A2F #2A948F
analogous
#942A64 #942A2F #945A2A
triadic
#942A2F #2F942A #2A2F94
tetradic
#942A2F #64942A #2A948F #5A2A94
square
#942A2F #64942A #2A948F #5A2A94
split-complementary
#942A2F #2A945A #2A6494
monochromatic
#350F11 #641C20 #942A2F #C4383E #D3656A

Accessibility & contrast

On white

7.98
#942A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942A2F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942A2F#FFFFFF#000000##FFFFFF
##942A2F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942a2f;
/* rgb */ color: rgb(148, 42, 47);
/* oklch */ color: oklch(45.1% 0.141 22.4);
Tailwind
colors: {
  custom: {
    50: '#ba6b67',
    500: '#942a2f',
    950: '#000000',
  },
}
SCSS
$custom: #942a2f;
$custom-light: #ba6b67;
$custom-dark: #000000;
JSON
{
  "hex": "#942a2f",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.17,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.14112,
    "h": 22.4
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#942A2F
secondary
#60B9B5
accent
#DFD849
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #942A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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