#972358#972358

#972358 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.157 H 357.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#972358
RGBrgb(151, 35, 88)
HSLhsl(333, 62%, 36%)
HSVhsv(333, 77%, 59%)
CMYKcmyk(0%, 76.8%, 41.7%, 40.8%)
CIE-LABlab(34.98, 51.22, -2.56)
CIE-LCHlch(34.98, 51.28, 357.14°)
OKLaboklab(46.02% 0.1574 -0.0061)
OKLCHoklch(46.02% 0.157 357.8)
XYZxyz(15.1261, 8.4879, 10.0724)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972358 #239762
analogous
#972392 #972358 #972823
triadic
#972358 #589723 #235897
tetradic
#972358 #929723 #239762 #282397
square
#972358 #929723 #239762 #282397
split-complementary
#972358 #239728 #239297
monochromatic
#340C1E #65173B #972358 #C92F75 #D95B95

Accessibility & contrast

On white

7.79
#972358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#972358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972358
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972358#FFFFFF#000000##FFFFFF
##9723581.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4459
Deuteranopia (green-blind)
#5C5A55
Tritanopia (blue-blind)
#A4113A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972358;
/* rgb */ color: rgb(151, 35, 88);
/* oklch */ color: oklch(46.0% 0.157 357.8);
Tailwind
colors: {
  custom: {
    50: '#ba6987',
    500: '#972358',
    950: '#000000',
  },
}
SCSS
$custom: #972358;
$custom-light: #ba6987;
$custom-dark: #000000;
JSON
{
  "hex": "#972358",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 332.586,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.15747,
    "h": 357.8
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#972358
secondary
#58BE8F
accent
#E59B42
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972358

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

Preview Lab → · Contrast checker → · Palette generator →

#972358 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva