#98286B#98286B

#98286B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.162 H 348.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#98286B
RGBrgb(152, 40, 107)
HSLhsl(324, 58%, 38%)
HSVhsv(324, 74%, 60%)
CMYKcmyk(0%, 73.7%, 29.6%, 40.4%)
CIE-LABlab(36.47, 51.97, -12.44)
CIE-LCHlch(36.47, 53.44, 346.54°)
OKLaboklab(47.37% 0.1583 -0.0327)
OKLCHoklch(47.37% 0.162 348.3)
XYZxyz(16.3623, 9.2563, 14.8320)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98286B #289855
analogous
#8D2898 #98286B #982833
triadic
#98286B #6B9828 #286B98
tetradic
#98286B #988D28 #289855 #283398
square
#98286B #988D28 #289855 #283398
split-complementary
#98286B #339828 #28988D
monochromatic
#370F27 #681B49 #98286B #C8358D #D664A8

Accessibility & contrast

On white

7.37
#98286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#98286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98286B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98286B#FFFFFF#000000##FFFFFF
##98286B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#595D68
Tritanopia (blue-blind)
#A32346
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98286b;
/* rgb */ color: rgb(152, 40, 107);
/* oklch */ color: oklch(47.4% 0.162 348.3);
Tailwind
colors: {
  custom: {
    50: '#ba6c95',
    500: '#98286b',
    950: '#000000',
  },
}
SCSS
$custom: #98286b;
$custom-light: #ba6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#98286b",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 324.107,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.16162,
    "h": 348.3
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#98286B
secondary
#60BC85
accent
#E28546
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98286B

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

Preview Lab → · Contrast checker → · Palette generator →

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