#9A2038#9A2038

#9A2038 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 15.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9A2038
RGBrgb(154, 32, 56)
HSLhsl(348, 66%, 36%)
HSVhsv(348, 79%, 60%)
CMYKcmyk(0%, 79.2%, 63.6%, 39.6%)
CIE-LABlab(34.38, 50.38, 17.43)
CIE-LCHlch(34.38, 53.31, 19.08°)
OKLaboklab(45.4% 0.1508 0.0422)
OKLCHoklch(45.4% 0.157 15.6)
XYZxyz(14.5583, 8.1908, 4.5550)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2038 #209A82
analogous
#9A2075 #9A2038 #9A4520
triadic
#9A2038 #389A20 #20389A
tetradic
#9A2038 #759A20 #209A82 #45209A
square
#9A2038 #759A20 #209A82 #45209A
split-complementary
#9A2038 #209A45 #20759A
monochromatic
#350B13 #671526 #9A2038 #CD2B4A #DC5872

Accessibility & contrast

On white

7.96
#9A2038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9A2038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2038
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2038#FFFFFF#000000##FFFFFF
##9A20381.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A9002A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a2038;
/* rgb */ color: rgb(154, 32, 56);
/* oklch */ color: oklch(45.4% 0.157 15.6);
Tailwind
colors: {
  custom: {
    50: '#bf686e',
    500: '#9a2038',
    950: '#000000',
  },
}
SCSS
$custom: #9a2038;
$custom-light: #bf686e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2038",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 348.197,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.15659,
    "h": 15.6
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#9A2038
secondary
#56C0AB
accent
#E9C73F
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #9A2038

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2038 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva