#9F2840#9F2840

#9F2840 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.2% C 0.154 H 14.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9F2840
RGBrgb(159, 40, 64)
HSLhsl(348, 60%, 39%)
HSVhsv(348, 75%, 62%)
CMYKcmyk(0%, 74.8%, 59.7%, 37.6%)
CIE-LABlab(36.48, 49.77, 15.25)
CIE-LCHlch(36.48, 52.05, 17.04°)
OKLaboklab(47.2% 0.1497 0.0376)
OKLCHoklch(47.2% 0.154 14.1)
XYZxyz(15.9839, 9.2610, 5.7954)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2840 #289F87
analogous
#9F287C #9F2840 #9F4C28
triadic
#9F2840 #409F28 #28409F
tetradic
#9F2840 #7C9F28 #289F87 #4C289F
square
#9F2840 #7C9F28 #289F87 #4C289F
split-complementary
#9F2840 #289F4C #287C9F
monochromatic
#3D0F19 #6E1C2C #9F2840 #CD3756 #D9687F

Accessibility & contrast

On white

7.36
#9F2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9F2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2840
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2840#FFFFFF#000000##FFFFFF
##9F28401.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484640
Deuteranopia (green-blind)
#665F3D
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2840;
/* rgb */ color: rgb(159, 40, 64);
/* oklch */ color: oklch(47.2% 0.154 14.1);
Tailwind
colors: {
  custom: {
    50: '#c26c74',
    500: '#9f2840',
    950: '#000000',
  },
}
SCSS
$custom: #9f2840;
$custom-light: #c26c74;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2840",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 347.899,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.15435,
    "h": 14.1
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#9F2840
secondary
#64BFAD
accent
#E3C345
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2840

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

Preview Lab → · Contrast checker → · Palette generator →

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