#983228#983228

#983228 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.6% C 0.138 H 29.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#983228
RGBrgb(152, 50, 40)
HSLhsl(5, 58%, 38%)
HSVhsv(5, 74%, 60%)
CMYKcmyk(0%, 67.1%, 73.7%, 40.4%)
CIE-LABlab(36.20, 42.01, 29.57)
CIE-LCHlch(36.20, 51.37, 35.14°)
OKLaboklab(46.61% 0.121 0.0671)
OKLCHoklch(46.61% 0.138 29)
XYZxyz(14.4741, 9.1119, 3.0037)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983228 #288E98
analogous
#982856 #983228 #986A28
triadic
#983228 #289832 #322898
tetradic
#983228 #569828 #288E98 #6A2898
square
#983228 #569828 #288E98 #6A2898
split-complementary
#983228 #28986A #285698
monochromatic
#37120F #68221B #983228 #C84235 #D66E64

Accessibility & contrast

On white

7.44
#983228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#983228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #983228
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983228#FFFFFF#000000##FFFFFF
##9832281.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4726
Deuteranopia (green-blind)
#685D25
Tritanopia (blue-blind)
#A71630
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #983228;
/* rgb */ color: rgb(152, 50, 40);
/* oklch */ color: oklch(46.6% 0.138 29.0);
Tailwind
colors: {
  custom: {
    50: '#be7062',
    500: '#983228',
    950: '#000000',
  },
}
SCSS
$custom: #983228;
$custom-light: #be7062;
$custom-dark: #000000;
JSON
{
  "hex": "#983228",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 5.357,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.13838,
    "h": 29
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#983228
secondary
#60B4BC
accent
#D4E246
background
#FCF6F5
surface
#F8ECEA
border
#D1C7C6
text
#130805
muted
#827B79

Preview Lab

Preview with #983228

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

Preview Lab → · Contrast checker → · Palette generator →

#983228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva