#98267E#98267E

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

Color values

HEX#98267E
RGBrgb(152, 38, 126)
HSLhsl(314, 60%, 37%)
HSVhsv(314, 75%, 60%)
CMYKcmyk(0%, 75%, 17.1%, 40.4%)
CIE-LABlab(37.06, 55.25, -23.45)
CIE-LCHlch(37.06, 60.02, 337.00°)
OKLaboklab(48.07% 0.164 -0.0635)
OKLCHoklch(48.07% 0.176 338.8)
XYZxyz(17.4083, 9.5697, 20.6649)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98267E #269840
analogous
#792698 #98267E #982645
triadic
#98267E #7E9826 #267E98
tetradic
#98267E #987926 #269840 #264598
square
#98267E #987926 #269840 #264598
split-complementary
#98267E #459826 #269879
monochromatic
#360E2D #671A55 #98267E #C932A7 #D761BC

Accessibility & contrast

On white

7.21
#98267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98267E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98267E#FFFFFF#000000##FFFFFF
##98267E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98267e;
/* rgb */ color: rgb(152, 38, 126);
/* oklch */ color: oklch(48.1% 0.176 338.8);
Tailwind
colors: {
  custom: {
    50: '#ba6ca3',
    500: '#98267e',
    950: '#000000',
  },
}
SCSS
$custom: #98267e;
$custom-light: #ba6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#98267e",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 313.684,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4807,
    "c": 0.17588,
    "h": 338.8
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#98267E
secondary
#5DBD73
accent
#E36945
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98267E

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

Preview Lab → · Contrast checker → · Palette generator →

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