#B0258A#B0258A

#B0258A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.199 H 341.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B0258A
RGBrgb(176, 37, 138)
HSLhsl(316, 65%, 42%)
HSVhsv(316, 79%, 69%)
CMYKcmyk(0%, 79%, 21.6%, 31%)
CIE-LABlab(41.83, 63.00, -23.11)
CIE-LCHlch(41.83, 67.11, 339.86°)
OKLaboklab(52.51% 0.1894 -0.0621)
OKLCHoklch(52.51% 0.199 341.8)
XYZxyz(23.1543, 12.3907, 25.2121)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0258A #25B04B
analogous
#9125B0 #B0258A #B02545
triadic
#B0258A #8AB025 #258AB0
tetradic
#B0258A #B09125 #25B04B #2545B0
square
#B0258A #B09125 #25B04B #2545B0
split-complementary
#B0258A #45B025 #25B091
monochromatic
#4B103B #7D1A62 #B0258A #D63CAC #E16FC2

Accessibility & contrast

On white

6.04
#B0258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B0258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0258A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0258A#FFFFFF#000000##FFFFFF
##B0258A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548D
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#BB2756
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0258a;
/* rgb */ color: rgb(176, 37, 138);
/* oklch */ color: oklch(52.5% 0.199 341.8);
Tailwind
colors: {
  custom: {
    50: '#cc70ac',
    500: '#b0258a',
    950: '#000000',
  },
}
SCSS
$custom: #b0258a;
$custom-light: #cc70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0258a",
  "rgb": {
    "r": 176,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 316.403,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.19935,
    "h": 341.8
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#B0258A
secondary
#6AC783
accent
#E86E40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0258A

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

Preview Lab → · Contrast checker → · Palette generator →

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