#97285E#97285E

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

Color values

HEX#97285E
RGBrgb(151, 40, 94)
HSLhsl(331, 58%, 37%)
HSVhsv(331, 74%, 59%)
CMYKcmyk(0%, 73.5%, 37.7%, 40.8%)
CIE-LABlab(35.80, 50.13, -5.19)
CIE-LCHlch(35.80, 50.39, 354.09°)
OKLaboklab(46.69% 0.1537 -0.013)
OKLCHoklch(46.69% 0.154 355.1)
XYZxyz(15.5427, 8.9069, 11.4882)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97285E #289761
analogous
#972895 #97285E #972A28
triadic
#97285E #5E9728 #285E97
tetradic
#97285E #959728 #289761 #2A2897
square
#97285E #959728 #289761 #2A2897
split-complementary
#97285E #28972A #289597
monochromatic
#360E22 #671B40 #97285E #C7357C #D6649B

Accessibility & contrast

On white

7.55
#97285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97285E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97285E#FFFFFF#000000##FFFFFF
##97285E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475F
Deuteranopia (green-blind)
#5C5C5B
Tritanopia (blue-blind)
#A31D3F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97285e;
/* rgb */ color: rgb(151, 40, 94);
/* oklch */ color: oklch(46.7% 0.154 355.1);
Tailwind
colors: {
  custom: {
    50: '#ba6c8b',
    500: '#97285e',
    950: '#000000',
  },
}
SCSS
$custom: #97285e;
$custom-light: #ba6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#97285e",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 330.811,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.15427,
    "h": 355.1
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#97285E
secondary
#5FBC8F
accent
#E19646
background
#FBF6F8
surface
#F7ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #97285E

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

Preview Lab → · Contrast checker → · Palette generator →

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