#9A2240#9A2240

#9A2240 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.155 H 11.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9A2240
RGBrgb(154, 34, 64)
HSLhsl(345, 64%, 37%)
HSVhsv(345, 78%, 60%)
CMYKcmyk(0%, 77.9%, 58.4%, 39.6%)
CIE-LABlab(34.77, 50.29, 12.78)
CIE-LCHlch(34.77, 51.89, 14.26°)
OKLaboklab(45.75% 0.152 0.0319)
OKLCHoklch(45.75% 0.155 11.8)
XYZxyz(14.8253, 8.3864, 5.6876)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2240 #229A7C
analogous
#9A227C #9A2240 #9A4022
triadic
#9A2240 #409A22 #22409A
tetradic
#9A2240 #7C9A22 #229A7C #40229A
square
#9A2240 #7C9A22 #229A7C #40229A
split-complementary
#9A2240 #229A40 #227C9A
monochromatic
#360C16 #68172B #9A2240 #CC2D55 #DB5B7B

Accessibility & contrast

On white

7.85
#9A2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2240
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2240#FFFFFF#000000##FFFFFF
##9A22401.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434240
Deuteranopia (green-blind)
#615B3D
Tritanopia (blue-blind)
#A9002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a2240;
/* rgb */ color: rgb(154, 34, 64);
/* oklch */ color: oklch(45.8% 0.155 11.8);
Tailwind
colors: {
  custom: {
    50: '#be6974',
    500: '#9a2240',
    950: '#000000',
  },
}
SCSS
$custom: #9a2240;
$custom-light: #be6974;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2240",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 345,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45754,
    "c": 0.15531,
    "h": 11.8
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#9A2240
secondary
#58BFA6
accent
#E7BD41
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A2240

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

Preview Lab → · Contrast checker → · Palette generator →

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