#9A2A4F#9A2A4F

#9A2A4F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.9% C 0.149 H 5.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9A2A4F
RGBrgb(154, 42, 79)
HSLhsl(340, 57%, 38%)
HSVhsv(340, 73%, 60%)
CMYKcmyk(0%, 72.7%, 48.7%, 39.6%)
CIE-LABlab(36.16, 48.73, 5.03)
CIE-LCHlch(36.16, 48.99, 5.89°)
OKLaboklab(46.9% 0.1489 0.0133)
OKLCHoklch(46.9% 0.149 5.1)
XYZxyz(15.5670, 9.0925, 8.3309)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2A4F #2A9A75
analogous
#9A2A87 #9A2A4F #9A3D2A
triadic
#9A2A4F #4F9A2A #2A4F9A
tetradic
#9A2A4F #879A2A #2A9A75 #3D2A9A
square
#9A2A4F #879A2A #2A9A75 #3D2A9A
split-complementary
#9A2A4F #2A9A3D #2A879A
monochromatic
#3A101E #6A1D36 #9A2A4F #C93868 #D6688D

Accessibility & contrast

On white

7.45
#9A2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9A2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2A4F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2A4F#FFFFFF#000000##FFFFFF
##9A2A4F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#A81539
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a2a4f;
/* rgb */ color: rgb(154, 42, 79);
/* oklch */ color: oklch(46.9% 0.149 5.1);
Tailwind
colors: {
  custom: {
    50: '#bd6d80',
    500: '#9a2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #9a2a4f;
$custom-light: #bd6d80;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2a4f",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 340.179,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.14947,
    "h": 5.1
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#9A2A4F
secondary
#63BC9F
accent
#E0AE47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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