#984158#984158

#984158 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.7% C 0.119 H 5.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#984158
RGBrgb(152, 65, 88)
HSLhsl(344, 40%, 43%)
HSVhsv(344, 57%, 60%)
CMYKcmyk(0%, 57.2%, 42.1%, 40.4%)
CIE-LABlab(39.85, 38.75, 4.55)
CIE-LCHlch(39.85, 39.02, 6.70°)
OKLaboklab(49.67% 0.1179 0.0122)
OKLCHoklch(49.67% 0.119 5.9)
XYZxyz(16.6017, 11.1624, 10.5109)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984158 #419881
analogous
#984183 #984158 #985641
triadic
#984158 #589841 #415898
tetradic
#984158 #839841 #419881 #564198
square
#984158 #839841 #419881 #564198
split-complementary
#984158 #419856 #418398
monochromatic
#421C26 #6D2F3F #984158 #BA5D75 #CC889A

Accessibility & contrast

On white

6.50
#984158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#984158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984158
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984158#FFFFFF#000000##FFFFFF
##9841581.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525359
Deuteranopia (green-blind)
#686456
Tritanopia (blue-blind)
#A4384A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #984158;
/* rgb */ color: rgb(152, 65, 88);
/* oklch */ color: oklch(49.7% 0.119 5.9);
Tailwind
colors: {
  custom: {
    50: '#ba7987',
    500: '#984158',
    950: '#000000',
  },
}
SCSS
$custom: #984158;
$custom-light: #ba7987;
$custom-dark: #000000;
JSON
{
  "hex": "#984158",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 344.138,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.11854,
    "h": 5.9
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#984158
secondary
#7EB7A8
accent
#D0B058
background
#FBF7F8
surface
#F7EEEF
border
#D0C9CA
text
#12090B
muted
#817B7C

Preview Lab

Preview with #984158

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

Preview Lab → · Contrast checker → · Palette generator →

#984158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva