#9A1E4F#9A1E4F

#9A1E4F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 2.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9A1E4F
RGBrgb(154, 30, 79)
HSLhsl(336, 67%, 36%)
HSVhsv(336, 81%, 60%)
CMYKcmyk(0%, 80.5%, 48.7%, 39.6%)
CIE-LABlab(34.73, 52.74, 2.98)
CIE-LCHlch(34.73, 52.83, 3.23°)
OKLaboklab(45.85% 0.1618 0.0082)
OKLCHoklch(45.85% 0.162 2.9)
XYZxyz(15.2033, 8.3652, 8.2097)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1E4F #1E9A69
analogous
#9A1E8D #9A1E4F #9A2B1E
triadic
#9A1E4F #4F9A1E #1E4F9A
tetradic
#9A1E4F #8D9A1E #1E9A69 #2B1E9A
square
#9A1E4F #8D9A1E #1E9A69 #2B1E9A
split-complementary
#9A1E4F #1E9A2B #1E8D9A
monochromatic
#340A1A #671435 #9A1E4F #CD2869 #DE558B

Accessibility & contrast

On white

7.86
#9A1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9A1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1E4F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1E4F#FFFFFF#000000##FFFFFF
##9A1E4F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#5E5A4C
Tritanopia (blue-blind)
#A80034
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1e4f;
/* rgb */ color: rgb(154, 30, 79);
/* oklch */ color: oklch(45.9% 0.162 2.9);
Tailwind
colors: {
  custom: {
    50: '#bd6880',
    500: '#9a1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1e4f;
$custom-light: #bd6880;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1e4f",
  "rgb": {
    "r": 154,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 336.29,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.16198,
    "h": 2.9
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#9A1E4F
secondary
#53C195
accent
#EAA63E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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