#942A2D#942A2D

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

Color values

HEX#942A2D
RGBrgb(148, 42, 45)
HSLhsl(358, 56%, 37%)
HSVhsv(358, 72%, 58%)
CMYKcmyk(0%, 71.6%, 69.6%, 42%)
CIE-LABlab(34.28, 44.26, 24.07)
CIE-LCHlch(34.28, 50.38, 28.54°)
OKLaboklab(45.05% 0.1297 0.0561)
OKLCHoklch(45.05% 0.141 23.4)
XYZxyz(13.5158, 8.1433, 3.3422)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942A2D #2A9491
analogous
#942A62 #942A2D #945C2A
triadic
#942A2D #2D942A #2A2D94
tetradic
#942A2D #62942A #2A9491 #5C2A94
square
#942A2D #62942A #2A9491 #5C2A94
split-complementary
#942A2D #2A945C #2A6294
monochromatic
#350F10 #641C1F #942A2D #C4383B #D36568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942A2D#FFFFFF#000000##FFFFFF
##942A2D1.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)
#48422C
Deuteranopia (green-blind)
#62592A
Tritanopia (blue-blind)
#A3072C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942a2d;
/* rgb */ color: rgb(148, 42, 45);
/* oklch */ color: oklch(45.1% 0.141 23.4);
Tailwind
colors: {
  custom: {
    50: '#ba6b66',
    500: '#942a2d',
    950: '#000000',
  },
}
SCSS
$custom: #942a2d;
$custom-light: #ba6b66;
$custom-dark: #000000;
JSON
{
  "hex": "#942a2d",
  "rgb": {
    "r": 148,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 358.302,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.14132,
    "h": 23.4
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#942A2D
secondary
#60B9B7
accent
#DFDB49
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130705
muted
#827A7A

Preview Lab

Preview with #942A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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