#972253#972253

#972253 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.157 H 0.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#972253
RGBrgb(151, 34, 83)
HSLhsl(335, 63%, 36%)
HSVhsv(335, 77%, 59%)
CMYKcmyk(0%, 77.5%, 45%, 40.8%)
CIE-LABlab(34.70, 51.04, 0.27)
CIE-LCHlch(34.70, 51.04, 0.30°)
OKLaboklab(45.76% 0.1567 0.0013)
OKLCHoklch(45.76% 0.157 0.5)
XYZxyz(14.8970, 8.3499, 9.0092)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972253 #229766
analogous
#97228E #972253 #972C22
triadic
#972253 #539722 #225397
tetradic
#972253 #8E9722 #229766 #2C2297
square
#972253 #8E9722 #229766 #2C2297
split-complementary
#972253 #22972C #228E97
monochromatic
#330C1C #651738 #972253 #C92D6E #DA5A8F

Accessibility & contrast

On white

7.87
#972253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#972253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972253
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972253#FFFFFF#000000##FFFFFF
##9722531.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4354
Deuteranopia (green-blind)
#5C5A50
Tritanopia (blue-blind)
#A40B37
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #972253;
/* rgb */ color: rgb(151, 34, 83);
/* oklch */ color: oklch(45.8% 0.157 0.5);
Tailwind
colors: {
  custom: {
    50: '#bb6983',
    500: '#972253',
    950: '#000000',
  },
}
SCSS
$custom: #972253;
$custom-light: #bb6983;
$custom-dark: #000000;
JSON
{
  "hex": "#972253",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 334.872,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.15672,
    "h": 0.5
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#972253
secondary
#57BE93
accent
#E6A142
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #972253

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

Preview Lab → · Contrast checker → · Palette generator →

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