#9F2138#9F2138

#9F2138 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.161 H 16.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2138
RGBrgb(159, 33, 56)
HSLhsl(349, 66%, 38%)
HSVhsv(349, 79%, 62%)
CMYKcmyk(0%, 79.2%, 64.8%, 37.6%)
CIE-LABlab(35.49, 51.56, 19.07)
CIE-LCHlch(35.49, 54.98, 20.30°)
OKLaboklab(46.41% 0.1539 0.0459)
OKLCHoklch(46.41% 0.161 16.6)
XYZxyz(15.5574, 8.7465, 4.6097)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2138 #219F88
analogous
#9F2177 #9F2138 #9F4921
triadic
#9F2138 #389F21 #21389F
tetradic
#9F2138 #779F21 #219F88 #49219F
square
#9F2138 #779F21 #219F88 #49219F
split-complementary
#9F2138 #219F49 #21779F
monochromatic
#3A0C14 #6C1626 #9F2138 #D22C4A #DD5D74

Accessibility & contrast

On white

7.64
#9F2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9F2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2138
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2138#FFFFFF#000000##FFFFFF
##9F21381.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#655D34
Tritanopia (blue-blind)
#AF002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2138;
/* rgb */ color: rgb(159, 33, 56);
/* oklch */ color: oklch(46.4% 0.161 16.6);
Tailwind
colors: {
  custom: {
    50: '#c3696e',
    500: '#9f2138',
    950: '#000000',
  },
}
SCSS
$custom: #9f2138;
$custom-light: #c3696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2138",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 349.048,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.16059,
    "h": 16.6
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#9F2138
secondary
#5AC2AF
accent
#E9CA3F
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2138

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

Preview Lab → · Contrast checker → · Palette generator →

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