#98254B#98254B

#98254B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.152 H 5.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#98254B
RGBrgb(152, 37, 75)
HSLhsl(340, 61%, 37%)
HSVhsv(340, 76%, 60%)
CMYKcmyk(0%, 75.7%, 50.7%, 40.4%)
CIE-LABlab(35.02, 49.57, 5.93)
CIE-LCHlch(35.02, 49.93, 6.82°)
OKLaboklab(45.95% 0.1514 0.0156)
OKLCHoklch(45.95% 0.152 5.9)
XYZxyz(14.8817, 8.5086, 7.5139)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98254B #259872
analogous
#982585 #98254B #983925
triadic
#98254B #4B9825 #254B98
tetradic
#98254B #859825 #259872 #392598
square
#98254B #859825 #259872 #392598
split-complementary
#98254B #259839 #258598
monochromatic
#360D1A #671933 #98254B #C93163 #D85F87

Accessibility & contrast

On white

7.77
#98254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#98254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98254B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98254B#FFFFFF#000000##FFFFFF
##98254B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444C
Deuteranopia (green-blind)
#5F5B48
Tritanopia (blue-blind)
#A60A35
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #98254b;
/* rgb */ color: rgb(152, 37, 75);
/* oklch */ color: oklch(46.0% 0.152 5.9);
Tailwind
colors: {
  custom: {
    50: '#bc6a7d',
    500: '#98254b',
    950: '#000000',
  },
}
SCSS
$custom: #98254b;
$custom-light: #bc6a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#98254b",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 340.174,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.15219,
    "h": 5.9
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#98254B
secondary
#5CBD9D
accent
#E4AF44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #98254B

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

Preview Lab → · Contrast checker → · Palette generator →

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