#9A1F3F#9A1F3F

#9A1F3F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 11.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9A1F3F
RGBrgb(154, 31, 63)
HSLhsl(344, 66%, 36%)
HSVhsv(344, 80%, 60%)
CMYKcmyk(0%, 79.9%, 59.1%, 39.6%)
CIE-LABlab(34.42, 51.16, 12.94)
CIE-LCHlch(34.42, 52.77, 14.20°)
OKLaboklab(45.48% 0.1546 0.0322)
OKLCHoklch(45.48% 0.158 11.8)
XYZxyz(14.7151, 8.2110, 5.5117)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F3F #1F9A7A
analogous
#9A1F7D #9A1F3F #9A3D1F
triadic
#9A1F3F #3F9A1F #1F3F9A
tetradic
#9A1F3F #7D9A1F #1F9A7A #3D1F9A
square
#9A1F3F #7D9A1F #1F9A7A #3D1F9A
split-complementary
#9A1F3F #1F9A3D #1F7D9A
monochromatic
#340A15 #67152A #9A1F3F #CD2954 #DD5679

Accessibility & contrast

On white

7.95
#9A1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9A1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F3F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F3F#FFFFFF#000000##FFFFFF
##9A1F3F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41413F
Deuteranopia (green-blind)
#615A3C
Tritanopia (blue-blind)
#A9002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1f3f;
/* rgb */ color: rgb(154, 31, 63);
/* oklch */ color: oklch(45.5% 0.158 11.8);
Tailwind
colors: {
  custom: {
    50: '#be6873',
    500: '#9a1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f3f;
$custom-light: #be6873;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f3f",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 344.39,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.15795,
    "h": 11.8
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#9A1F3F
secondary
#54C1A4
accent
#E9BD3E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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