#972457#972457

#972457 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.156 H 358.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#972457
RGBrgb(151, 36, 87)
HSLhsl(333, 61%, 37%)
HSVhsv(333, 76%, 59%)
CMYKcmyk(0%, 76.2%, 42.4%, 40.8%)
CIE-LABlab(35.07, 50.78, -1.79)
CIE-LCHlch(35.07, 50.81, 357.99°)
OKLaboklab(46.07% 0.156 -0.0041)
OKLCHoklch(46.07% 0.156 358.5)
XYZxyz(15.1148, 8.5311, 9.8657)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972457 #249764
analogous
#972491 #972457 #972B24
triadic
#972457 #579724 #245797
tetradic
#972457 #919724 #249764 #2B2497
square
#972457 #919724 #249764 #2B2497
split-complementary
#972457 #24972B #249197
monochromatic
#340C1E #66183B #972457 #C83073 #D85D94

Accessibility & contrast

On white

7.76
#972457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#972457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972457
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972457#FFFFFF#000000##FFFFFF
##9724571.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5C5A54
Tritanopia (blue-blind)
#A4123A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972457;
/* rgb */ color: rgb(151, 36, 87);
/* oklch */ color: oklch(46.1% 0.156 358.5);
Tailwind
colors: {
  custom: {
    50: '#ba6a86',
    500: '#972457',
    950: '#000000',
  },
}
SCSS
$custom: #972457;
$custom-light: #ba6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#972457",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 333.391,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.156,
    "h": 358.5
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#972457
secondary
#5ABD91
accent
#E59D43
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #972457

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

Preview Lab → · Contrast checker → · Palette generator →

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