#98267B#98267B

#98267B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.174 H 340.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#98267B
RGBrgb(152, 38, 123)
HSLhsl(315, 60%, 37%)
HSVhsv(315, 75%, 60%)
CMYKcmyk(0%, 75%, 19.1%, 40.4%)
CIE-LABlab(36.92, 54.82, -21.81)
CIE-LCHlch(36.92, 59.00, 338.31°)
OKLaboklab(47.92% 0.1636 -0.0588)
OKLCHoklch(47.92% 0.174 340.2)
XYZxyz(17.2176, 9.4934, 19.6607)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98267B #269843
analogous
#7C2698 #98267B #982642
triadic
#98267B #7B9826 #267B98
tetradic
#98267B #987C26 #269843 #264298
square
#98267B #987C26 #269843 #264298
split-complementary
#98267B #429826 #26987C
monochromatic
#360E2C #671A53 #98267B #C932A3 #D761B9

Accessibility & contrast

On white

7.25
#98267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98267B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98267B#FFFFFF#000000##FFFFFF
##98267B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A1294D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98267b;
/* rgb */ color: rgb(152, 38, 123);
/* oklch */ color: oklch(47.9% 0.174 340.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ca1',
    500: '#98267b',
    950: '#000000',
  },
}
SCSS
$custom: #98267b;
$custom-light: #ba6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#98267b",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 315.263,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47921,
    "c": 0.17385,
    "h": 340.2
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#98267B
secondary
#5DBD75
accent
#E36D45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #98267B

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

Preview Lab → · Contrast checker → · Palette generator →

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