#9A1A4F#9A1A4F

#9A1A4F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.165 H 2.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9A1A4F
RGBrgb(154, 26, 79)
HSLhsl(335, 71%, 35%)
HSVhsv(335, 83%, 60%)
CMYKcmyk(0%, 83.1%, 48.7%, 39.6%)
CIE-LABlab(34.35, 53.84, 2.42)
CIE-LCHlch(34.35, 53.90, 2.57°)
OKLaboklab(45.57% 0.1653 0.0068)
OKLCHoklch(45.57% 0.165 2.3)
XYZxyz(15.1084, 8.1754, 8.1781)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1A4F #1A9A65
analogous
#9A1A8F #9A1A4F #9A251A
triadic
#9A1A4F #4F9A1A #1A4F9A
tetradic
#9A1A4F #8F9A1A #1A9A65 #251A9A
square
#9A1A4F #8F9A1A #1A9A65 #251A9A
split-complementary
#9A1A4F #1A9A25 #1A8F9A
monochromatic
#310819 #661134 #9A1A4F #CE236A #E14D8B

Accessibility & contrast

On white

7.97
#9A1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9A1A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1A4F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1A4F#FFFFFF#000000##FFFFFF
##9A1A4F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5D5A4C
Tritanopia (blue-blind)
#A80032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1a4f;
/* rgb */ color: rgb(154, 26, 79);
/* oklch */ color: oklch(45.6% 0.165 2.3);
Tailwind
colors: {
  custom: {
    50: '#be6680',
    500: '#9a1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1a4f;
$custom-light: #be6680;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1a4f",
  "rgb": {
    "r": 154,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 335.156,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.16546,
    "h": 2.3
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#9A1A4F
secondary
#4DC392
accent
#EEA33A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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