#9A1F3E#9A1F3E

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

Color values

HEX#9A1F3E
RGBrgb(154, 31, 62)
HSLhsl(345, 66%, 36%)
HSVhsv(345, 80%, 60%)
CMYKcmyk(0%, 79.9%, 59.7%, 39.6%)
CIE-LABlab(34.40, 51.09, 13.56)
CIE-LCHlch(34.40, 52.86, 14.87°)
OKLaboklab(45.46% 0.1542 0.0336)
OKLCHoklch(45.46% 0.158 12.3)
XYZxyz(14.6874, 8.2000, 5.3659)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F3E #1F9A7B
analogous
#9A1F7C #9A1F3E #9A3E1F
triadic
#9A1F3E #3E9A1F #1F3E9A
tetradic
#9A1F3E #7C9A1F #1F9A7B #3E1F9A
square
#9A1F3E #7C9A1F #1F9A7B #3E1F9A
split-complementary
#9A1F3E #1F9A3E #1F7C9A
monochromatic
#340A15 #671529 #9A1F3E #CD2953 #DD5678

Accessibility & contrast

On white

7.96
#9A1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1F3E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F3E#FFFFFF#000000##FFFFFF
##9A1F3E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#615A3B
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1f3e;
/* rgb */ color: rgb(154, 31, 62);
/* oklch */ color: oklch(45.5% 0.158 12.3);
Tailwind
colors: {
  custom: {
    50: '#be6873',
    500: '#9a1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f3e;
$custom-light: #be6873;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f3e",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 344.878,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.15784,
    "h": 12.3
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#9A1F3E
secondary
#54C1A5
accent
#E9BE3E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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