#9A1F40#9A1F40

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

Color values

HEX#9A1F40
RGBrgb(154, 31, 64)
HSLhsl(344, 66%, 36%)
HSVhsv(344, 80%, 60%)
CMYKcmyk(0%, 79.9%, 58.4%, 39.6%)
CIE-LABlab(34.44, 51.23, 12.33)
CIE-LCHlch(34.44, 52.69, 13.53°)
OKLaboklab(45.51% 0.155 0.0308)
OKLCHoklch(45.51% 0.158 11.2)
XYZxyz(14.7433, 8.2223, 5.6602)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F40 #1F9A79
analogous
#9A1F7E #9A1F40 #9A3C1F
triadic
#9A1F40 #409A1F #1F409A
tetradic
#9A1F40 #7E9A1F #1F9A79 #3C1F9A
square
#9A1F40 #7E9A1F #1F9A79 #3C1F9A
split-complementary
#9A1F40 #1F9A3C #1F7E9A
monochromatic
#340A16 #67152B #9A1F40 #CD2955 #DD567A

Accessibility & contrast

On white

7.94
#9A1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1F40
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F40#FFFFFF#000000##FFFFFF
##9A1F401.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414140
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#A9002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9a1f40;
/* rgb */ color: rgb(154, 31, 64);
/* oklch */ color: oklch(45.5% 0.158 11.2);
Tailwind
colors: {
  custom: {
    50: '#be6874',
    500: '#9a1f40',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f40;
$custom-light: #be6874;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f40",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 343.902,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.15806,
    "h": 11.2
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#9A1F40
secondary
#54C1A4
accent
#E9BC3E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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