#97256F#97256F

#97256F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.167 H 345.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#97256F
RGBrgb(151, 37, 111)
HSLhsl(321, 61%, 37%)
HSVhsv(321, 75%, 59%)
CMYKcmyk(0%, 75.5%, 26.5%, 40.8%)
CIE-LABlab(36.08, 53.26, -15.57)
CIE-LCHlch(36.08, 55.49, 343.70°)
OKLaboklab(47.11% 0.1615 -0.0413)
OKLCHoklch(47.11% 0.167 345.6)
XYZxyz(16.2940, 9.0519, 15.9249)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97256F #25974D
analogous
#862597 #97256F #972536
triadic
#97256F #6F9725 #256F97
tetradic
#97256F #978625 #25974D #253697
square
#97256F #978625 #25974D #253697
split-complementary
#97256F #369725 #259786
monochromatic
#350D27 #66194B #97256F #C83193 #D85FAD

Accessibility & contrast

On white

7.47
#97256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#97256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97256F
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97256F#FFFFFF#000000##FFFFFF
##97256F1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#A12347
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97256f;
/* rgb */ color: rgb(151, 37, 111);
/* oklch */ color: oklch(47.1% 0.167 345.6);
Tailwind
colors: {
  custom: {
    50: '#b96b98',
    500: '#97256f',
    950: '#000000',
  },
}
SCSS
$custom: #97256f;
$custom-light: #b96b98;
$custom-dark: #000000;
JSON
{
  "hex": "#97256f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 321.053,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.1667,
    "h": 345.6
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#97256F
secondary
#5BBD7D
accent
#E47C44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97256F

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

Preview Lab → · Contrast checker → · Palette generator →

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