#97307F#97307F

#97307F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.164 H 338.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#97307F
RGBrgb(151, 48, 127)
HSLhsl(314, 52%, 39%)
HSVhsv(314, 68%, 59%)
CMYKcmyk(0%, 68.2%, 15.9%, 40.8%)
CIE-LABlab(38.25, 51.44, -22.24)
CIE-LCHlch(38.25, 56.04, 336.62°)
OKLaboklab(48.91% 0.152 -0.0602)
OKLCHoklch(48.91% 0.164 338.4)
XYZxyz(17.6506, 10.2271, 21.1190)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97307F #309748
analogous
#7C3097 #97307F #97304B
triadic
#97307F #7F9730 #307F97
tetradic
#97307F #977C30 #309748 #304B97
square
#97307F #977C30 #309748 #304B97
split-complementary
#97307F #4B9730 #30977C
monochromatic
#3A1231 #692158 #97307F #C341A5 #D270BB

Accessibility & contrast

On white

6.90
#97307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#97307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97307F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97307F#FFFFFF#000000##FFFFFF
##97307F1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#9F3453
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97307f;
/* rgb */ color: rgb(151, 48, 127);
/* oklch */ color: oklch(48.9% 0.164 338.4);
Tailwind
colors: {
  custom: {
    50: '#b971a4',
    500: '#97307f',
    950: '#000000',
  },
}
SCSS
$custom: #97307f;
$custom-light: #b971a4;
$custom-dark: #000000;
JSON
{
  "hex": "#97307f",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 313.981,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.1635,
    "h": 338.4
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#97307F
secondary
#6AB97C
accent
#DB6E4D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #97307F

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

Preview Lab → · Contrast checker → · Palette generator →

#97307F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva