#98254A#98254A

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

Color values

HEX#98254A
RGBrgb(152, 37, 74)
HSLhsl(341, 61%, 37%)
HSVhsv(341, 76%, 60%)
CMYKcmyk(0%, 75.7%, 51.3%, 40.4%)
CIE-LABlab(34.99, 49.49, 6.54)
CIE-LCHlch(34.99, 49.92, 7.53°)
OKLaboklab(45.93% 0.151 0.0171)
OKLCHoklch(45.93% 0.152 6.4)
XYZxyz(14.8478, 8.4950, 7.3351)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98254A #259873
analogous
#982584 #98254A #983A25
triadic
#98254A #4A9825 #254A98
tetradic
#98254A #849825 #259873 #3A2598
square
#98254A #849825 #259873 #3A2598
split-complementary
#98254A #25983A #258498
monochromatic
#360D1A #671932 #98254A #C93162 #D85F86

Accessibility & contrast

On white

7.78
#98254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98254A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98254A#FFFFFF#000000##FFFFFF
##98254A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444B
Deuteranopia (green-blind)
#5F5B47
Tritanopia (blue-blind)
#A60935
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #98254a;
/* rgb */ color: rgb(152, 37, 74);
/* oklch */ color: oklch(45.9% 0.152 6.4);
Tailwind
colors: {
  custom: {
    50: '#bc6a7c',
    500: '#98254a',
    950: '#000000',
  },
}
SCSS
$custom: #98254a;
$custom-light: #bc6a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#98254a",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 340.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.15197,
    "h": 6.4
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#98254A
secondary
#5CBD9E
accent
#E4B044
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #98254A

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

Preview Lab → · Contrast checker → · Palette generator →

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