#942E42#942E42

#942E42 is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.9% C 0.136 H 12.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#942E42
RGBrgb(148, 46, 66)
HSLhsl(348, 53%, 38%)
HSVhsv(348, 69%, 58%)
CMYKcmyk(0%, 68.9%, 55.4%, 42%)
CIE-LABlab(35.29, 44.06, 12.01)
CIE-LCHlch(35.29, 45.67, 15.24°)
OKLaboklab(45.94% 0.133 0.0302)
OKLCHoklch(45.94% 0.136 12.8)
XYZxyz(14.1744, 8.6451, 6.0755)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E42 #2E9480
analogous
#942E75 #942E42 #944D2E
triadic
#942E42 #42942E #2E4294
tetradic
#942E42 #75942E #2E9480 #4D2E94
square
#942E42 #75942E #2E9480 #4D2E94
split-complementary
#942E42 #2E944D #2E7594
monochromatic
#371118 #651F2D #942E42 #C33D57 #D16B7F

Accessibility & contrast

On white

7.70
#942E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#942E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E42
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E42#FFFFFF#000000##FFFFFF
##942E421.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#615B3F
Tritanopia (blue-blind)
#A21A36
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #942e42;
/* rgb */ color: rgb(148, 46, 66);
/* oklch */ color: oklch(45.9% 0.136 12.8);
Tailwind
colors: {
  custom: {
    50: '#b96e76',
    500: '#942e42',
    950: '#000000',
  },
}
SCSS
$custom: #942e42;
$custom-light: #b96e76;
$custom-dark: #000000;
JSON
{
  "hex": "#942e42",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 348.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.13643,
    "h": 12.8
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#942E42
secondary
#66B8A8
accent
#DCC04C
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #942E42

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

Preview Lab → · Contrast checker → · Palette generator →

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