#972858#972858

#972858 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.152 H 358.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#972858
RGBrgb(151, 40, 88)
HSLhsl(334, 58%, 37%)
HSVhsv(334, 74%, 59%)
CMYKcmyk(0%, 73.5%, 41.7%, 40.8%)
CIE-LABlab(35.60, 49.47, -1.64)
CIE-LCHlch(35.60, 49.50, 358.10°)
OKLaboklab(46.48% 0.1518 -0.0037)
OKLCHoklch(46.48% 0.152 358.6)
XYZxyz(15.2838, 8.8034, 10.1250)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972858 #289767
analogous
#972890 #972858 #973028
triadic
#972858 #589728 #285897
tetradic
#972858 #909728 #289767 #302897
square
#972858 #909728 #289767 #302897
split-complementary
#972858 #289730 #289097
monochromatic
#360E20 #671B3C #972858 #C73574 #D66495

Accessibility & contrast

On white

7.61
#972858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#972858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972858
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972858#FFFFFF#000000##FFFFFF
##9728581.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#5D5B55
Tritanopia (blue-blind)
#A4193C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #972858;
/* rgb */ color: rgb(151, 40, 88);
/* oklch */ color: oklch(46.5% 0.152 358.6);
Tailwind
colors: {
  custom: {
    50: '#ba6c87',
    500: '#972858',
    950: '#000000',
  },
}
SCSS
$custom: #972858;
$custom-light: #ba6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#972858",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 334.054,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.15181,
    "h": 358.6
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#972858
secondary
#5FBC94
accent
#E19E46
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972858

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

Preview Lab → · Contrast checker → · Palette generator →

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