#B2458E#B2458E

#B2458E is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.164 H 342.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B2458E
RGBrgb(178, 69, 142)
HSLhsl(320, 44%, 48%)
HSVhsv(320, 61%, 70%)
CMYKcmyk(0%, 61.2%, 20.2%, 30.2%)
CIE-LABlab(46.55, 52.34, -18.24)
CIE-LCHlch(46.55, 55.42, 340.79°)
OKLaboklab(56.07% 0.1564 -0.0487)
OKLCHoklch(56.07% 0.164 342.7)
XYZxyz(25.3714, 15.6765, 27.2756)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2458E #45B269
analogous
#A045B2 #B2458E #B24557
triadic
#B2458E #8EB245 #458EB2
tetradic
#B2458E #B2A045 #45B269 #4557B2
square
#B2458E #B2A045 #45B269 #4557B2
split-complementary
#B2458E #57B245 #45B2A0
monochromatic
#5A2348 #86346B #B2458E #C76EA9 #D89AC3

Accessibility & contrast

On white

5.08
#B2458E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B2458E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2458E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2458E#FFFFFF#000000##FFFFFF
##B2458E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#6D758B
Tritanopia (blue-blind)
#BD4663
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b2458e;
/* rgb */ color: rgb(178, 69, 142);
/* oklch */ color: oklch(56.1% 0.164 342.7);
Tailwind
colors: {
  custom: {
    50: '#cc7faf',
    500: '#b2458e',
    950: '#000000',
  },
}
SCSS
$custom: #b2458e;
$custom-light: #cc7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#b2458e",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 319.817,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.16378,
    "h": 342.7
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#B2458E
secondary
#8FC4A0
accent
#D47E54
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #B2458E

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

Preview Lab → · Contrast checker → · Palette generator →

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