#97285F#97285F

#97285F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.155 H 354.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#97285F
RGBrgb(151, 40, 95)
HSLhsl(330, 58%, 37%)
HSVhsv(330, 74%, 59%)
CMYKcmyk(0%, 73.5%, 37.1%, 40.8%)
CIE-LABlab(35.84, 50.24, -5.78)
CIE-LCHlch(35.84, 50.57, 353.44°)
OKLaboklab(46.73% 0.154 -0.0146)
OKLCHoklch(46.73% 0.155 354.6)
XYZxyz(15.5878, 8.9250, 11.7261)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97285F #289760
analogous
#972897 #97285F #972828
triadic
#97285F #5F9728 #285F97
tetradic
#97285F #979728 #289760 #282897
square
#97285F #979728 #289760 #282897
split-complementary
#97285F #289728 #289797
monochromatic
#360E22 #671B41 #97285F #C7357D #D6649C

Accessibility & contrast

On white

7.54
#97285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#97285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97285F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97285F#FFFFFF#000000##FFFFFF
##97285F1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4760
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#A31D40
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97285f;
/* rgb */ color: rgb(151, 40, 95);
/* oklch */ color: oklch(46.7% 0.155 354.6);
Tailwind
colors: {
  custom: {
    50: '#ba6c8c',
    500: '#97285f',
    950: '#000000',
  },
}
SCSS
$custom: #97285f;
$custom-light: #ba6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#97285f",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 330.27,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.15472,
    "h": 354.6
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#97285F
secondary
#5FBC8E
accent
#E19546
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #97285F

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

Preview Lab → · Contrast checker → · Palette generator →

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