#9A2F56#9A2F56

#9A2F56 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.6% C 0.145 H 2.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9A2F56
RGBrgb(154, 47, 86)
HSLhsl(338, 53%, 39%)
HSVhsv(338, 69%, 60%)
CMYKcmyk(0%, 69.5%, 44.2%, 39.6%)
CIE-LABlab(37.07, 47.45, 1.85)
CIE-LCHlch(37.07, 47.49, 2.24°)
OKLaboklab(47.64% 0.1452 0.0053)
OKLCHoklch(47.64% 0.145 2.1)
XYZxyz(16.0238, 9.5769, 9.8070)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F56 #2F9A73
analogous
#9A2F8C #9A2F56 #9A3E2F
triadic
#9A2F56 #569A2F #2F569A
tetradic
#9A2F56 #8C9A2F #2F9A73 #3E2F9A
square
#9A2F56 #8C9A2F #2F9A73 #3E2F9A
split-complementary
#9A2F56 #2F9A3E #2F8C9A
monochromatic
#3C1222 #6B213C #9A2F56 #C54171 #D37094

Accessibility & contrast

On white

7.20
#9A2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2F56
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F56#FFFFFF#000000##FFFFFF
##9A2F561.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A57
Deuteranopia (green-blind)
#625F53
Tritanopia (blue-blind)
#A7213F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2f56;
/* rgb */ color: rgb(154, 47, 86);
/* oklch */ color: oklch(47.6% 0.145 2.1);
Tailwind
colors: {
  custom: {
    50: '#bc6f85',
    500: '#9a2f56',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f56;
$custom-light: #bc6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f56",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 338.131,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.14531,
    "h": 2.1
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#9A2F56
secondary
#6ABB9D
accent
#DDA84B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9A2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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