#9F2F4B#9F2F4B

#9F2F4B is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.148 H 9.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F2F4B
RGBrgb(159, 47, 75)
HSLhsl(345, 54%, 40%)
HSVhsv(345, 70%, 62%)
CMYKcmyk(0%, 70.4%, 52.8%, 37.6%)
CIE-LABlab(37.69, 47.99, 9.88)
CIE-LCHlch(37.69, 49.00, 11.63°)
OKLaboklab(48.17% 0.1457 0.0252)
OKLCHoklch(48.17% 0.148 9.8)
XYZxyz(16.5860, 9.9142, 7.6955)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F4B #2F9F83
analogous
#9F2F83 #9F2F4B #9F4B2F
triadic
#9F2F4B #4B9F2F #2F4B9F
tetradic
#9F2F4B #839F2F #2F9F83 #4B2F9F
square
#9F2F4B #839F2F #2F9F83 #4B2F9F
split-complementary
#9F2F4B #2F9F4B #2F839F
monochromatic
#41131E #702135 #9F2F4B #C84465 #D6738C

Accessibility & contrast

On white

7.04
#9F2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F2F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2F4B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F4B#FFFFFF#000000##FFFFFF
##9F2F4B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#676148
Tritanopia (blue-blind)
#AD193A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2f4b;
/* rgb */ color: rgb(159, 47, 75);
/* oklch */ color: oklch(48.2% 0.148 9.8);
Tailwind
colors: {
  custom: {
    50: '#c1707d',
    500: '#9f2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f4b;
$custom-light: #c1707d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f4b",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 345,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.14783,
    "h": 9.8
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#9F2F4B
secondary
#6DBDA9
accent
#DEB94A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9F2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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