#9F2240#9F2240

#9F2240 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 12.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2240
RGBrgb(159, 34, 64)
HSLhsl(346, 65%, 38%)
HSVhsv(346, 79%, 62%)
CMYKcmyk(0%, 78.6%, 59.7%, 37.6%)
CIE-LABlab(35.77, 51.77, 14.29)
CIE-LCHlch(35.77, 53.71, 15.43°)
OKLaboklab(46.67% 0.1561 0.0354)
OKLCHoklch(46.67% 0.16 12.8)
XYZxyz(15.7971, 8.8875, 5.7331)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2240 #229F81
analogous
#9F227E #9F2240 #9F4222
triadic
#9F2240 #409F22 #22409F
tetradic
#9F2240 #7E9F22 #229F81 #42229F
square
#9F2240 #7E9F22 #229F81 #42229F
split-complementary
#9F2240 #229F42 #227E9F
monochromatic
#3A0C17 #6D172C #9F2240 #D12D54 #DD5F7D

Accessibility & contrast

On white

7.56
#9F2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2240
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2240#FFFFFF#000000##FFFFFF
##9F22401.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#655D3D
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2240;
/* rgb */ color: rgb(159, 34, 64);
/* oklch */ color: oklch(46.7% 0.160 12.8);
Tailwind
colors: {
  custom: {
    50: '#c26a74',
    500: '#9f2240',
    950: '#000000',
  },
}
SCSS
$custom: #9f2240;
$custom-light: #c26a74;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2240",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 345.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.1601,
    "h": 12.8
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#9F2240
secondary
#5BC1A9
accent
#E8C040
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2240

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

Preview Lab → · Contrast checker → · Palette generator →

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