#98242A#98242A

#98242A is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.152 H 23.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#98242A
RGBrgb(152, 36, 42)
HSLhsl(357, 62%, 37%)
HSVhsv(357, 76%, 60%)
CMYKcmyk(0%, 76.3%, 72.4%, 40.4%)
CIE-LABlab(34.20, 47.66, 26.03)
CIE-LCHlch(34.20, 54.31, 28.65°)
OKLaboklab(45.13% 0.1393 0.0598)
OKLCHoklch(45.13% 0.152 23.2)
XYZxyz(13.9993, 8.1065, 3.0176)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98242A #249892
analogous
#982464 #98242A #985824
triadic
#98242A #2A9824 #242A98
tetradic
#98242A #649824 #249892 #582498
square
#98242A #649824 #249892 #582498
split-complementary
#98242A #249858 #246498
monochromatic
#350D0F #67181C #98242A #C93038 #D95E64

Accessibility & contrast

On white

8.01
#98242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#98242A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98242A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98242A#FFFFFF#000000##FFFFFF
##98242A1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464129
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#A70027
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98242a;
/* rgb */ color: rgb(152, 36, 42);
/* oklch */ color: oklch(45.1% 0.152 23.2);
Tailwind
colors: {
  custom: {
    50: '#be6963',
    500: '#98242a',
    950: '#000000',
  },
}
SCSS
$custom: #98242a;
$custom-light: #be6963;
$custom-dark: #000000;
JSON
{
  "hex": "#98242a",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 356.897,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.15158,
    "h": 23.2
  },
  "luminance": 0.08104
}

Semantic roles & 50–950 ramp

primary
#98242A
secondary
#5ABEB8
accent
#E5DC43
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #98242A

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

Preview Lab → · Contrast checker → · Palette generator →

#98242A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva