#97256B#97256B

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

Color values

HEX#97256B
RGBrgb(151, 37, 107)
HSLhsl(323, 61%, 37%)
HSVhsv(323, 75%, 59%)
CMYKcmyk(0%, 75.5%, 29.1%, 40.8%)
CIE-LABlab(35.92, 52.74, -13.30)
CIE-LCHlch(35.92, 54.39, 345.85°)
OKLaboklab(46.93% 0.1606 -0.035)
OKLCHoklch(46.93% 0.164 347.7)
XYZxyz(16.0787, 8.9658, 14.7909)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97256B #259751
analogous
#8A2597 #97256B #972532
triadic
#97256B #6B9725 #256B97
tetradic
#97256B #978A25 #259751 #253297
square
#97256B #978A25 #259751 #253297
split-complementary
#97256B #329725 #25978A
monochromatic
#350D25 #661948 #97256B #C8318E #D85FA9

Accessibility & contrast

On white

7.52
#97256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97256B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97256B#FFFFFF#000000##FFFFFF
##97256B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486D
Deuteranopia (green-blind)
#575C68
Tritanopia (blue-blind)
#A22045
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97256b;
/* rgb */ color: rgb(151, 37, 107);
/* oklch */ color: oklch(46.9% 0.164 347.7);
Tailwind
colors: {
  custom: {
    50: '#ba6b95',
    500: '#97256b',
    950: '#000000',
  },
}
SCSS
$custom: #97256b;
$custom-light: #ba6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#97256b",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 323.158,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.16438,
    "h": 347.7
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#97256B
secondary
#5BBD81
accent
#E48244
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97256B

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

Preview Lab → · Contrast checker → · Palette generator →

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