#9F2239#9F2239

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

Color values

HEX#9F2239
RGBrgb(159, 34, 57)
HSLhsl(349, 65%, 38%)
HSVhsv(349, 79%, 62%)
CMYKcmyk(0%, 78.6%, 64.2%, 37.6%)
CIE-LABlab(35.62, 51.31, 18.60)
CIE-LCHlch(35.62, 54.58, 19.93°)
OKLaboklab(46.51% 0.1533 0.0449)
OKLCHoklch(46.51% 0.16 16.3)
XYZxyz(15.6103, 8.8127, 4.7492)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2239 #229F88
analogous
#9F2277 #9F2239 #9F4922
triadic
#9F2239 #399F22 #22399F
tetradic
#9F2239 #779F22 #229F88 #49229F
square
#9F2239 #779F22 #229F88 #49229F
split-complementary
#9F2239 #229F49 #22779F
monochromatic
#3A0C15 #6D1727 #9F2239 #D12D4B #DD5F76

Accessibility & contrast

On white

7.60
#9F2239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2239
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2239#FFFFFF#000000##FFFFFF
##9F22391.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464339
Deuteranopia (green-blind)
#665D35
Tritanopia (blue-blind)
#AF002C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2239;
/* rgb */ color: rgb(159, 34, 57);
/* oklch */ color: oklch(46.5% 0.160 16.3);
Tailwind
colors: {
  custom: {
    50: '#c3696f',
    500: '#9f2239',
    950: '#000000',
  },
}
SCSS
$custom: #9f2239;
$custom-light: #c3696f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2239",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 348.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.15973,
    "h": 16.3
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#9F2239
secondary
#5BC1AF
accent
#E8C940
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2239

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

Preview Lab → · Contrast checker → · Palette generator →

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