#98267D#98267D

#98267D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.175 H 339.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#98267D
RGBrgb(152, 38, 125)
HSLhsl(314, 60%, 37%)
HSVhsv(314, 75%, 60%)
CMYKcmyk(0%, 75%, 17.8%, 40.4%)
CIE-LABlab(37.01, 55.10, -22.91)
CIE-LCHlch(37.01, 59.68, 337.43°)
OKLaboklab(48.02% 0.1639 -0.062)
OKLCHoklch(48.02% 0.175 339.3)
XYZxyz(17.3441, 9.5440, 20.3268)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98267D #269841
analogous
#7A2698 #98267D #982644
triadic
#98267D #7D9826 #267D98
tetradic
#98267D #987A26 #269841 #264498
square
#98267D #987A26 #269841 #264498
split-complementary
#98267D #449826 #26987A
monochromatic
#360E2C #671A55 #98267D #C932A5 #D761BB

Accessibility & contrast

On white

7.22
#98267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#98267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98267D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98267D#FFFFFF#000000##FFFFFF
##98267D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#525E7A
Tritanopia (blue-blind)
#A12B4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98267d;
/* rgb */ color: rgb(152, 38, 125);
/* oklch */ color: oklch(48.0% 0.175 339.3);
Tailwind
colors: {
  custom: {
    50: '#ba6ca3',
    500: '#98267d',
    950: '#000000',
  },
}
SCSS
$custom: #98267d;
$custom-light: #ba6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#98267d",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 314.211,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.17521,
    "h": 339.3
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#98267D
secondary
#5DBD74
accent
#E36A45
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98267D

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

Preview Lab → · Contrast checker → · Palette generator →

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