#9A2F52#9A2F52

#9A2F52 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.144 H 4.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9A2F52
RGBrgb(154, 47, 82)
HSLhsl(340, 53%, 39%)
HSVhsv(340, 69%, 60%)
CMYKcmyk(0%, 69.5%, 46.8%, 39.6%)
CIE-LABlab(36.96, 47.05, 4.24)
CIE-LCHlch(36.96, 47.24, 5.15°)
OKLaboklab(47.52% 0.1437 0.0114)
OKLCHoklch(47.52% 0.144 4.5)
XYZxyz(15.8672, 9.5143, 8.9819)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F52 #2F9A77
analogous
#9A2F88 #9A2F52 #9A422F
triadic
#9A2F52 #529A2F #2F529A
tetradic
#9A2F52 #889A2F #2F9A77 #422F9A
square
#9A2F52 #889A2F #2F9A77 #422F9A
split-complementary
#9A2F52 #2F9A42 #2F889A
monochromatic
#3C1220 #6B2139 #9A2F52 #C5416C #D37091

Accessibility & contrast

On white

7.24
#9A2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2F52
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F52#FFFFFF#000000##FFFFFF
##9A2F521.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#A71F3D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a2f52;
/* rgb */ color: rgb(154, 47, 82);
/* oklch */ color: oklch(47.5% 0.144 4.5);
Tailwind
colors: {
  custom: {
    50: '#bd6f82',
    500: '#9a2f52',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f52;
$custom-light: #bd6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f52",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 340.374,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47519,
    "c": 0.14417,
    "h": 4.5
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#9A2F52
secondary
#6ABBA0
accent
#DDAD4B
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9A2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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