#98254C#98254C

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

Color values

HEX#98254C
RGBrgb(152, 37, 76)
HSLhsl(340, 61%, 37%)
HSVhsv(340, 76%, 60%)
CMYKcmyk(0%, 75.7%, 50%, 40.4%)
CIE-LABlab(35.05, 49.66, 5.32)
CIE-LCHlch(35.05, 49.95, 6.12°)
OKLaboklab(45.98% 0.1518 0.014)
OKLCHoklch(45.98% 0.152 5.3)
XYZxyz(14.9162, 8.5224, 7.6956)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98254C #259871
analogous
#982586 #98254C #983725
triadic
#98254C #4C9825 #254C98
tetradic
#98254C #869825 #259871 #372598
square
#98254C #869825 #259871 #372598
split-complementary
#98254C #259837 #258698
monochromatic
#360D1B #671933 #98254C #C93165 #D85F88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98254C#FFFFFF#000000##FFFFFF
##98254C1.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)
#41444D
Deuteranopia (green-blind)
#5F5B49
Tritanopia (blue-blind)
#A60B35
Achromatopsia (no color)
#525252

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#98254C
secondary
#5CBD9C
accent
#E4AE44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #98254C

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

Preview Lab → · Contrast checker → · Palette generator →

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