#9F2237#9F2237

#9F2237 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.160 H 17.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9F2237
RGBrgb(159, 34, 55)
HSLhsl(350, 65%, 38%)
HSVhsv(350, 79%, 62%)
CMYKcmyk(0%, 78.6%, 65.4%, 37.6%)
CIE-LABlab(35.58, 51.19, 19.83)
CIE-LCHlch(35.58, 54.90, 21.18°)
OKLaboklab(46.47% 0.1525 0.0475)
OKLCHoklch(46.47% 0.16 17.3)
XYZxyz(15.5614, 8.7932, 4.4916)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2237 #229F8A
analogous
#9F2275 #9F2237 #9F4B22
triadic
#9F2237 #379F22 #22379F
tetradic
#9F2237 #759F22 #229F8A #4B229F
square
#9F2237 #759F22 #229F8A #4B229F
split-complementary
#9F2237 #229F4B #22759F
monochromatic
#3A0C14 #6D1726 #9F2237 #D12D48 #DD5F74

Accessibility & contrast

On white

7.61
#9F2237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9F2237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2237
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2237#FFFFFF#000000##FFFFFF
##9F22371.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464337
Deuteranopia (green-blind)
#665D33
Tritanopia (blue-blind)
#AF002B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2237;
/* rgb */ color: rgb(159, 34, 55);
/* oklch */ color: oklch(46.5% 0.160 17.3);
Tailwind
colors: {
  custom: {
    50: '#c3696d',
    500: '#9f2237',
    950: '#000000',
  },
}
SCSS
$custom: #9f2237;
$custom-light: #c3696d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2237",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 349.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4647,
    "c": 0.15971,
    "h": 17.3
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#9F2237
secondary
#5BC1B0
accent
#E8CC40
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2237

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

Preview Lab → · Contrast checker → · Palette generator →

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