#9A2F70#9A2F70

#9A2F70 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.157 H 347.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9A2F70
RGBrgb(154, 47, 112)
HSLhsl(324, 53%, 39%)
HSVhsv(324, 69%, 60%)
CMYKcmyk(0%, 69.5%, 27.3%, 39.6%)
CIE-LABlab(37.98, 50.53, -13.27)
CIE-LCHlch(37.98, 52.24, 345.29°)
OKLaboklab(48.61% 0.1532 -0.035)
OKLCHoklch(48.61% 0.157 347.1)
XYZxyz(17.2683, 10.0747, 16.3613)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F70 #2F9A59
analogous
#8F2F9A #9A2F70 #9A2F3B
triadic
#9A2F70 #709A2F #2F709A
tetradic
#9A2F70 #9A8F2F #2F9A59 #2F3B9A
square
#9A2F70 #9A8F2F #2F9A59 #2F3B9A
split-complementary
#9A2F70 #3B9A2F #2F9A8F
monochromatic
#3C122C #6B214E #9A2F70 #C54191 #D370AC

Accessibility & contrast

On white

6.97
#9A2F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A2F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F70
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F70#FFFFFF#000000##FFFFFF
##9A2F701.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E72
Deuteranopia (green-blind)
#5C606D
Tritanopia (blue-blind)
#A52C4B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a2f70;
/* rgb */ color: rgb(154, 47, 112);
/* oklch */ color: oklch(48.6% 0.157 347.1);
Tailwind
colors: {
  custom: {
    50: '#bb7099',
    500: '#9a2f70',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f70;
$custom-light: #bb7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f70",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 323.551,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.15718,
    "h": 347.1
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#9A2F70
secondary
#6ABB8A
accent
#DD844B
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9A2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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