#98256E#98256E

#98256E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.167 H 346.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#98256E
RGBrgb(152, 37, 110)
HSLhsl(322, 61%, 37%)
HSVhsv(322, 76%, 60%)
CMYKcmyk(0%, 75.7%, 27.6%, 40.4%)
CIE-LABlab(36.23, 53.39, -14.71)
CIE-LCHlch(36.23, 55.38, 344.60°)
OKLaboklab(47.23% 0.1622 -0.0389)
OKLCHoklch(47.23% 0.167 346.5)
XYZxyz(16.4257, 9.1261, 15.6453)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98256E #25984F
analogous
#892598 #98256E #982535
triadic
#98256E #6E9825 #256E98
tetradic
#98256E #988925 #25984F #253598
square
#98256E #988925 #25984F #253598
split-complementary
#98256E #359825 #259889
monochromatic
#360D27 #67194A #98256E #C93192 #D85FAC

Accessibility & contrast

On white

7.43
#98256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#98256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98256E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98256E#FFFFFF#000000##FFFFFF
##98256E1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354970
Deuteranopia (green-blind)
#575C6B
Tritanopia (blue-blind)
#A32246
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98256e;
/* rgb */ color: rgb(152, 37, 110);
/* oklch */ color: oklch(47.2% 0.167 346.5);
Tailwind
colors: {
  custom: {
    50: '#ba6b97',
    500: '#98256e',
    950: '#000000',
  },
}
SCSS
$custom: #98256e;
$custom-light: #ba6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#98256e",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 321.913,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.16683,
    "h": 346.5
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#98256E
secondary
#5CBD7F
accent
#E47E44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98256E

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

Preview Lab → · Contrast checker → · Palette generator →

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