#97215F#97215F

#97215F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.163 H 353.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#97215F
RGBrgb(151, 33, 95)
HSLhsl(328, 64%, 36%)
HSVhsv(328, 78%, 59%)
CMYKcmyk(0%, 78.1%, 37.1%, 40.8%)
CIE-LABlab(34.99, 52.62, -7.04)
CIE-LCHlch(34.99, 53.09, 352.38°)
OKLaboklab(46.11% 0.1616 -0.018)
OKLCHoklch(46.11% 0.163 353.7)
XYZxyz(15.3729, 8.4951, 11.6544)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97215F #219759
analogous
#942197 #97215F #972124
triadic
#97215F #5F9721 #215F97
tetradic
#97215F #979421 #219759 #212497
square
#97215F #979421 #219759 #212497
split-complementary
#97215F #249721 #219794
monochromatic
#330B20 #65163F #97215F #C92C7F #DA589D

Accessibility & contrast

On white

7.78
#97215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#97215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97215F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97215F#FFFFFF#000000##FFFFFF
##97215F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384561
Deuteranopia (green-blind)
#595A5C
Tritanopia (blue-blind)
#A3143D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #97215f;
/* rgb */ color: rgb(151, 33, 95);
/* oklch */ color: oklch(46.1% 0.163 353.7);
Tailwind
colors: {
  custom: {
    50: '#ba698c',
    500: '#97215f',
    950: '#000000',
  },
}
SCSS
$custom: #97215f;
$custom-light: #ba698c;
$custom-dark: #000000;
JSON
{
  "hex": "#97215f",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 328.475,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46108,
    "c": 0.16258,
    "h": 353.7
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#97215F
secondary
#55BE87
accent
#E79041
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #97215F

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

Preview Lab → · Contrast checker → · Palette generator →

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