#9F2027#9F2027

#9F2027 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.162 H 23.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9F2027
RGBrgb(159, 32, 39)
HSLhsl(357, 66%, 37%)
HSVhsv(357, 80%, 62%)
CMYKcmyk(0%, 79.9%, 75.5%, 37.6%)
CIE-LABlab(35.11, 51.00, 29.29)
CIE-LCHlch(35.11, 58.81, 29.87°)
OKLaboklab(46.04% 0.1483 0.0658)
OKLCHoklch(46.04% 0.162 23.9)
XYZxyz(15.1826, 8.5528, 2.7705)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2027 #209F98
analogous
#9F2066 #9F2027 #9F5920
triadic
#9F2027 #279F20 #20279F
tetradic
#9F2027 #669F20 #209F98 #59209F
square
#9F2027 #669F20 #209F98 #59209F
split-complementary
#9F2027 #209F59 #20669F
monochromatic
#390B0E #6C161B #9F2027 #D22A33 #DE5B63

Accessibility & contrast

On white

7.75
#9F2027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F2027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2027
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2027#FFFFFF#000000##FFFFFF
##9F20271.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#675C22
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f2027;
/* rgb */ color: rgb(159, 32, 39);
/* oklch */ color: oklch(46.0% 0.162 23.9);
Tailwind
colors: {
  custom: {
    50: '#c46861',
    500: '#9f2027',
    950: '#000000',
  },
}
SCSS
$custom: #9f2027;
$custom-light: #c46861;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2027",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 39
  },
  "hsl": {
    "h": 356.693,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46036,
    "c": 0.16224,
    "h": 23.9
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#9F2027
secondary
#59C2BC
accent
#E9E03E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9F2027

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

Preview Lab → · Contrast checker → · Palette generator →

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