#98267F#98267F

#98267F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.177 H 338.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#98267F
RGBrgb(152, 38, 127)
HSLhsl(313, 60%, 37%)
HSVhsv(313, 75%, 60%)
CMYKcmyk(0%, 75%, 16.4%, 40.4%)
CIE-LABlab(37.11, 55.40, -24.00)
CIE-LCHlch(37.11, 60.37, 336.57°)
OKLaboklab(48.12% 0.1641 -0.0651)
OKLCHoklch(48.12% 0.177 338.4)
XYZxyz(17.4732, 9.5956, 21.0065)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98267F #26983F
analogous
#782698 #98267F #982646
triadic
#98267F #7F9826 #267F98
tetradic
#98267F #987826 #26983F #264698
square
#98267F #987826 #26983F #264698
split-complementary
#98267F #469826 #269878
monochromatic
#360E2D #671A56 #98267F #C932A8 #D761BD

Accessibility & contrast

On white

7.19
#98267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#98267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98267F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98267F#FFFFFF#000000##FFFFFF
##98267F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A12C50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98267f;
/* rgb */ color: rgb(152, 38, 127);
/* oklch */ color: oklch(48.1% 0.177 338.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ca4',
    500: '#98267f',
    950: '#000000',
  },
}
SCSS
$custom: #98267f;
$custom-light: #ba6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#98267f",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 313.158,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4812,
    "c": 0.17657,
    "h": 338.4
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#98267F
secondary
#5DBD72
accent
#E36745
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98267F

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

Preview Lab → · Contrast checker → · Palette generator →

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