#98267C#98267C

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

Color values

HEX#98267C
RGBrgb(152, 38, 124)
HSLhsl(315, 60%, 37%)
HSVhsv(315, 75%, 60%)
CMYKcmyk(0%, 75%, 18.4%, 40.4%)
CIE-LABlab(36.96, 54.96, -22.36)
CIE-LCHlch(36.96, 59.33, 337.86°)
OKLaboklab(47.97% 0.1637 -0.0604)
OKLCHoklch(47.97% 0.175 339.7)
XYZxyz(17.2806, 9.5186, 19.9921)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98267C #269842
analogous
#7B2698 #98267C #982643
triadic
#98267C #7C9826 #267C98
tetradic
#98267C #987B26 #269842 #264398
square
#98267C #987B26 #269842 #264398
split-complementary
#98267C #439826 #26987B
monochromatic
#360E2C #671A54 #98267C #C932A4 #D761BA

Accessibility & contrast

On white

7.23
#98267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#98267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98267C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98267C#FFFFFF#000000##FFFFFF
##98267C1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#A12A4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98267c;
/* rgb */ color: rgb(152, 38, 124);
/* oklch */ color: oklch(48.0% 0.175 339.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ca2',
    500: '#98267c',
    950: '#000000',
  },
}
SCSS
$custom: #98267c;
$custom-light: #ba6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#98267c",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 314.737,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4797,
    "c": 0.17453,
    "h": 339.7
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#98267C
secondary
#5DBD75
accent
#E36C45
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98267C

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

Preview Lab → · Contrast checker → · Palette generator →

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