#97255F#97255F

#97255F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.158 H 354.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97255F
RGBrgb(151, 37, 95)
HSLhsl(329, 61%, 37%)
HSVhsv(329, 75%, 59%)
CMYKcmyk(0%, 75.5%, 37.1%, 40.8%)
CIE-LABlab(35.46, 51.30, -6.34)
CIE-LCHlch(35.46, 51.70, 352.95°)
OKLaboklab(46.45% 0.1574 -0.0161)
OKLCHoklch(46.45% 0.158 354.2)
XYZxyz(15.4906, 8.7305, 11.6937)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97255F #25975D
analogous
#962597 #97255F #972526
triadic
#97255F #5F9725 #255F97
tetradic
#97255F #979625 #25975D #252697
square
#97255F #979625 #25975D #252697
split-complementary
#97255F #269725 #259796
monochromatic
#350D21 #661940 #97255F #C8317E #D85F9C

Accessibility & contrast

On white

7.65
#97255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#97255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97255F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97255F#FFFFFF#000000##FFFFFF
##97255F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4661
Deuteranopia (green-blind)
#5B5B5C
Tritanopia (blue-blind)
#A3193F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #97255f;
/* rgb */ color: rgb(151, 37, 95);
/* oklch */ color: oklch(46.4% 0.158 354.2);
Tailwind
colors: {
  custom: {
    50: '#ba6b8c',
    500: '#97255f',
    950: '#000000',
  },
}
SCSS
$custom: #97255f;
$custom-light: #ba6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#97255f",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 329.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.15822,
    "h": 354.2
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#97255F
secondary
#5BBD8B
accent
#E49244
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #97255F

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

Preview Lab → · Contrast checker → · Palette generator →

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