#9F2140#9F2140

#9F2140 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 12.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9F2140
RGBrgb(159, 33, 64)
HSLhsl(345, 66%, 38%)
HSVhsv(345, 79%, 62%)
CMYKcmyk(0%, 79.2%, 59.7%, 37.6%)
CIE-LABlab(35.66, 52.08, 14.14)
CIE-LCHlch(35.66, 53.97, 15.19°)
OKLaboklab(46.58% 0.1571 0.035)
OKLCHoklch(46.58% 0.161 12.6)
XYZxyz(15.7689, 8.8311, 5.7237)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2140 #219F80
analogous
#9F217F #9F2140 #9F4121
triadic
#9F2140 #409F21 #21409F
tetradic
#9F2140 #7F9F21 #219F80 #41219F
square
#9F2140 #7F9F21 #219F80 #41219F
split-complementary
#9F2140 #219F41 #217F9F
monochromatic
#3A0C17 #6C162C #9F2140 #D22C54 #DD5D7D

Accessibility & contrast

On white

7.59
#9F2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2140
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2140#FFFFFF#000000##FFFFFF
##9F21401.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2140;
/* rgb */ color: rgb(159, 33, 64);
/* oklch */ color: oklch(46.6% 0.161 12.6);
Tailwind
colors: {
  custom: {
    50: '#c26974',
    500: '#9f2140',
    950: '#000000',
  },
}
SCSS
$custom: #9f2140;
$custom-light: #c26974;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2140",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 345.238,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.16099,
    "h": 12.6
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#9F2140
secondary
#5AC2A8
accent
#E9BF3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2140

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

Preview Lab → · Contrast checker → · Palette generator →

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