#97256A#97256A

#97256A is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.164 H 348.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#97256A
RGBrgb(151, 37, 106)
HSLhsl(324, 61%, 37%)
HSVhsv(324, 75%, 59%)
CMYKcmyk(0%, 75.5%, 29.8%, 40.8%)
CIE-LABlab(35.88, 52.62, -12.72)
CIE-LCHlch(35.88, 54.13, 346.41°)
OKLaboklab(46.89% 0.1604 -0.0335)
OKLCHoklch(46.89% 0.164 348.2)
XYZxyz(16.0264, 8.9449, 14.5154)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97256A #259752
analogous
#8B2597 #97256A #972531
triadic
#97256A #6A9725 #256A97
tetradic
#97256A #978B25 #259752 #253197
square
#97256A #978B25 #259752 #253197
split-complementary
#97256A #319725 #25978B
monochromatic
#350D25 #661947 #97256A #C8318D #D85FA8

Accessibility & contrast

On white

7.53
#97256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#97256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97256A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97256A#FFFFFF#000000##FFFFFF
##97256A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#585C67
Tritanopia (blue-blind)
#A22044
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97256a;
/* rgb */ color: rgb(151, 37, 106);
/* oklch */ color: oklch(46.9% 0.164 348.2);
Tailwind
colors: {
  custom: {
    50: '#ba6b94',
    500: '#97256a',
    950: '#000000',
  },
}
SCSS
$custom: #97256a;
$custom-light: #ba6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#97256a",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 323.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46891,
    "c": 0.16381,
    "h": 348.2
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#97256A
secondary
#5BBD82
accent
#E48344
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97256A

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

Preview Lab → · Contrast checker → · Palette generator →

#97256A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva