#972258#972258

#972258 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.159 H 357.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#972258
RGBrgb(151, 34, 88)
HSLhsl(332, 63%, 36%)
HSVhsv(332, 77%, 59%)
CMYKcmyk(0%, 77.5%, 41.7%, 40.8%)
CIE-LABlab(34.86, 51.55, -2.73)
CIE-LCHlch(34.86, 51.62, 356.97°)
OKLaboklab(45.93% 0.1584 -0.0065)
OKLCHoklch(45.93% 0.159 357.6)
XYZxyz(15.0971, 8.4299, 10.0628)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972258 #229761
analogous
#972293 #972258 #972722
triadic
#972258 #589722 #225897
tetradic
#972258 #939722 #229761 #272297
square
#972258 #939722 #229761 #272297
split-complementary
#972258 #229727 #229397
monochromatic
#330C1E #65173B #972258 #C92D75 #DA5A95

Accessibility & contrast

On white

7.82
#972258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#972258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972258
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972258#FFFFFF#000000##FFFFFF
##9722581.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4459
Deuteranopia (green-blind)
#5B5A55
Tritanopia (blue-blind)
#A4103A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972258;
/* rgb */ color: rgb(151, 34, 88);
/* oklch */ color: oklch(45.9% 0.159 357.6);
Tailwind
colors: {
  custom: {
    50: '#ba6987',
    500: '#972258',
    950: '#000000',
  },
}
SCSS
$custom: #972258;
$custom-light: #ba6987;
$custom-dark: #000000;
JSON
{
  "hex": "#972258",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 332.308,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45932,
    "c": 0.15853,
    "h": 357.6
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#972258
secondary
#57BE8E
accent
#E69A42
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972258

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

Preview Lab → · Contrast checker → · Palette generator →

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