#B5458C#B5458C

#B5458C is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.4% C 0.165 H 344.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B5458C
RGBrgb(181, 69, 140)
HSLhsl(322, 45%, 49%)
HSVhsv(322, 62%, 71%)
CMYKcmyk(0%, 61.9%, 22.7%, 29%)
CIE-LABlab(46.94, 52.93, -16.39)
CIE-LCHlch(46.94, 55.41, 342.80°)
OKLaboklab(56.42% 0.159 -0.0435)
OKLCHoklch(56.42% 0.165 344.7)
XYZxyz(25.9186, 15.9759, 26.5245)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5458C #45B56E
analogous
#A645B5 #B5458C #B54554
triadic
#B5458C #8CB545 #458CB5
tetradic
#B5458C #B5A645 #45B56E #4554B5
square
#B5458C #B5A645 #45B56E #4554B5
split-complementary
#B5458C #54B545 #45B5A6
monochromatic
#5C2347 #89346A #B5458C #C86FA8 #D99BC2

Accessibility & contrast

On white

5.01
#B5458C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B5458C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5458C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5458C#FFFFFF#000000##FFFFFF
##B5458C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638E
Deuteranopia (green-blind)
#707689
Tritanopia (blue-blind)
#C04462
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b5458c;
/* rgb */ color: rgb(181, 69, 140);
/* oklch */ color: oklch(56.4% 0.165 344.7);
Tailwind
colors: {
  custom: {
    50: '#ce7fad',
    500: '#b5458c',
    950: '#000000',
  },
}
SCSS
$custom: #b5458c;
$custom-light: #ce7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b5458c",
  "rgb": {
    "r": 181,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 321.964,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.16486,
    "h": 344.7
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#B5458C
secondary
#91C5A4
accent
#D58353
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B5458C

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

Preview Lab → · Contrast checker → · Palette generator →

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