#98242F#98242F

#98242F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.151 H 20.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#98242F
RGBrgb(152, 36, 47)
HSLhsl(354, 62%, 37%)
HSVhsv(354, 76%, 60%)
CMYKcmyk(0%, 76.3%, 69.1%, 40.4%)
CIE-LABlab(34.28, 47.92, 22.99)
CIE-LCHlch(34.28, 53.15, 25.63°)
OKLaboklab(45.21% 0.1412 0.0539)
OKLCHoklch(45.21% 0.151 20.9)
XYZxyz(14.0944, 8.1445, 3.5187)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98242F #24988D
analogous
#982469 #98242F #985324
triadic
#98242F #2F9824 #242F98
tetradic
#98242F #699824 #24988D #532498
square
#98242F #699824 #24988D #532498
split-complementary
#98242F #249853 #246998
monochromatic
#350D10 #671820 #98242F #C9303E #D95E69

Accessibility & contrast

On white

7.99
#98242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#98242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98242F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98242F#FFFFFF#000000##FFFFFF
##98242F1.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)
#46412E
Deuteranopia (green-blind)
#635A2B
Tritanopia (blue-blind)
#A70029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98242f;
/* rgb */ color: rgb(152, 36, 47);
/* oklch */ color: oklch(45.2% 0.151 20.9);
Tailwind
colors: {
  custom: {
    50: '#be6967',
    500: '#98242f',
    950: '#000000',
  },
}
SCSS
$custom: #98242f;
$custom-light: #be6967;
$custom-dark: #000000;
JSON
{
  "hex": "#98242f",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 354.31,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.15117,
    "h": 20.9
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#98242F
secondary
#5ABEB4
accent
#E5D543
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #98242F

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

Preview Lab → · Contrast checker → · Palette generator →

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