#B9458F#B9458F

#B9458F is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.1% C 0.170 H 344.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B9458F
RGBrgb(185, 69, 143)
HSLhsl(322, 46%, 50%)
HSVhsv(322, 63%, 73%)
CMYKcmyk(0%, 62.7%, 22.7%, 27.5%)
CIE-LABlab(47.70, 54.52, -16.98)
CIE-LCHlch(47.70, 57.10, 342.70°)
OKLaboklab(57.14% 0.1638 -0.0451)
OKLCHoklch(57.14% 0.17 344.6)
XYZxyz(27.0945, 16.5563, 27.7500)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9458F #45B96F
analogous
#A945B9 #B9458F #B94555
triadic
#B9458F #8FB945 #458FB9
tetradic
#B9458F #B9A945 #45B96F #4555B9
square
#B9458F #B9A945 #45B96F #4555B9
split-complementary
#B9458F #55B945 #45B9A9
monochromatic
#60244A #8C346D #B9458F #CA71AA #DB9EC5

Accessibility & contrast

On white

4.87
#B9458F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B9458F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9458F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9458F#FFFFFF#000000##FFFFFF
##B9458F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506591
Deuteranopia (green-blind)
#72788C
Tritanopia (blue-blind)
#C54464
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b9458f;
/* rgb */ color: rgb(185, 69, 143);
/* oklch */ color: oklch(57.1% 0.170 344.6);
Tailwind
colors: {
  custom: {
    50: '#d180b0',
    500: '#b9458f',
    950: '#000000',
  },
}
SCSS
$custom: #b9458f;
$custom-light: #d180b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9458f",
  "rgb": {
    "r": 185,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 321.724,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.16993,
    "h": 344.6
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#B9458F
secondary
#93C7A6
accent
#D58252
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B9458F

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

Preview Lab → · Contrast checker → · Palette generator →

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