#9F2839#9F2839

#9F2839 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.0% C 0.154 H 17.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9F2839
RGBrgb(159, 40, 57)
HSLhsl(351, 60%, 39%)
HSVhsv(351, 75%, 62%)
CMYKcmyk(0%, 74.8%, 64.2%, 37.6%)
CIE-LABlab(36.34, 49.30, 19.53)
CIE-LCHlch(36.34, 53.03, 21.62°)
OKLaboklab(47.04% 0.1468 0.047)
OKLCHoklch(47.04% 0.154 17.8)
XYZxyz(15.7970, 9.1862, 4.8114)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2839 #289F8E
analogous
#9F2875 #9F2839 #9F5328
triadic
#9F2839 #399F28 #28399F
tetradic
#9F2839 #759F28 #289F8E #53289F
square
#9F2839 #759F28 #289F8E #53289F
split-complementary
#9F2839 #289F53 #28759F
monochromatic
#3D0F16 #6E1C27 #9F2839 #CD374D #D96878

Accessibility & contrast

On white

7.40
#9F2839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F2839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2839
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2839#FFFFFF#000000##FFFFFF
##9F28391.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494639
Deuteranopia (green-blind)
#675F36
Tritanopia (blue-blind)
#AF002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2839;
/* rgb */ color: rgb(159, 40, 57);
/* oklch */ color: oklch(47.0% 0.154 17.8);
Tailwind
colors: {
  custom: {
    50: '#c26c6f',
    500: '#9f2839',
    950: '#000000',
  },
}
SCSS
$custom: #9f2839;
$custom-light: #c26c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2839",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 351.429,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.15418,
    "h": 17.8
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#9F2839
secondary
#64BFB2
accent
#E3CC45
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F2839

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

Preview Lab → · Contrast checker → · Palette generator →

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