#97256D#97256D

#97256D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.166 H 346.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#97256D
RGBrgb(151, 37, 109)
HSLhsl(322, 61%, 37%)
HSVhsv(322, 75%, 59%)
CMYKcmyk(0%, 75.5%, 27.8%, 40.8%)
CIE-LABlab(36.00, 53.00, -14.44)
CIE-LCHlch(36.00, 54.93, 344.76°)
OKLaboklab(47.02% 0.1611 -0.0382)
OKLCHoklch(47.02% 0.166 346.7)
XYZxyz(16.1851, 9.0084, 15.3515)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97256D #25974F
analogous
#882597 #97256D #972534
triadic
#97256D #6D9725 #256D97
tetradic
#97256D #978825 #25974F #253497
square
#97256D #978825 #25974F #253497
split-complementary
#97256D #349725 #259788
monochromatic
#350D26 #66194A #97256D #C83190 #D85FAB

Accessibility & contrast

On white

7.50
#97256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#97256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97256D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97256D#FFFFFF#000000##FFFFFF
##97256D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#575C6A
Tritanopia (blue-blind)
#A22146
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97256d;
/* rgb */ color: rgb(151, 37, 109);
/* oklch */ color: oklch(47.0% 0.166 346.7);
Tailwind
colors: {
  custom: {
    50: '#ba6b97',
    500: '#97256d',
    950: '#000000',
  },
}
SCSS
$custom: #97256d;
$custom-light: #ba6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#97256d",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 322.105,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.16553,
    "h": 346.7
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#97256D
secondary
#5BBD7F
accent
#E47F44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97256D

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

Preview Lab → · Contrast checker → · Palette generator →

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