#97267B#97267B

#97267B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.173 H 339.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#97267B
RGBrgb(151, 38, 123)
HSLhsl(315, 60%, 37%)
HSVhsv(315, 75%, 59%)
CMYKcmyk(0%, 74.8%, 18.5%, 40.8%)
CIE-LABlab(36.74, 54.57, -22.10)
CIE-LCHlch(36.74, 58.87, 337.95°)
OKLaboklab(47.76% 0.1626 -0.0597)
OKLCHoklch(47.76% 0.173 339.8)
XYZxyz(17.0312, 9.3973, 19.6520)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97267B #269742
analogous
#7A2697 #97267B #972643
triadic
#97267B #7B9726 #267B97
tetradic
#97267B #977A26 #269742 #264397
square
#97267B #977A26 #269742 #264397
split-complementary
#97267B #439726 #26977A
monochromatic
#350D2B #661A53 #97267B #C832A3 #D760BA

Accessibility & contrast

On white

7.29
#97267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#97267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97267B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97267B#FFFFFF#000000##FFFFFF
##97267B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#A02A4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #97267b;
/* rgb */ color: rgb(151, 38, 123);
/* oklch */ color: oklch(47.8% 0.173 339.8);
Tailwind
colors: {
  custom: {
    50: '#b96ca1',
    500: '#97267b',
    950: '#000000',
  },
}
SCSS
$custom: #97267b;
$custom-light: #b96ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#97267b",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 314.867,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.17321,
    "h": 339.8
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#97267B
secondary
#5CBC74
accent
#E36C45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97267B

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

Preview Lab → · Contrast checker → · Palette generator →

#97267B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva