#9F2740#9F2740

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

Color values

HEX#9F2740
RGBrgb(159, 39, 64)
HSLhsl(348, 61%, 39%)
HSVhsv(348, 75%, 62%)
CMYKcmyk(0%, 75.5%, 59.7%, 37.6%)
CIE-LABlab(36.36, 50.12, 15.08)
CIE-LCHlch(36.36, 52.34, 16.75°)
OKLaboklab(47.1% 0.1508 0.0372)
OKLCHoklch(47.1% 0.155 13.9)
XYZxyz(15.9506, 9.1944, 5.7843)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2740 #279F86
analogous
#9F277C #9F2740 #9F4A27
triadic
#9F2740 #409F27 #27409F
tetradic
#9F2740 #7C9F27 #279F86 #4A279F
square
#9F2740 #7C9F27 #279F86 #4A279F
split-complementary
#9F2740 #279F4A #277C9F
monochromatic
#3D0F18 #6E1B2C #9F2740 #CE3655 #DA677F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2740#FFFFFF#000000##FFFFFF
##9F27401.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)
#474640
Deuteranopia (green-blind)
#665F3D
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2740;
/* rgb */ color: rgb(159, 39, 64);
/* oklch */ color: oklch(47.1% 0.155 13.9);
Tailwind
colors: {
  custom: {
    50: '#c26c74',
    500: '#9f2740',
    950: '#000000',
  },
}
SCSS
$custom: #9f2740;
$custom-light: #c26c74;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2740",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 347.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47101,
    "c": 0.15535,
    "h": 13.9
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#9F2740
secondary
#62C0AC
accent
#E4C244
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2740

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

Preview Lab → · Contrast checker → · Palette generator →

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