#B25498#B25498

#B25498 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.147 H 339.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B25498
RGBrgb(178, 84, 152)
HSLhsl(317, 38%, 51%)
HSVhsv(317, 53%, 70%)
CMYKcmyk(0%, 52.8%, 14.6%, 30.2%)
CIE-LABlab(49.59, 46.79, -19.55)
CIE-LCHlch(49.59, 50.71, 337.32°)
OKLaboklab(58.44% 0.1375 -0.0525)
OKLCHoklch(58.44% 0.147 339.1)
XYZxyz(27.1983, 18.0747, 31.7559)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25498 #54B26E
analogous
#9D54B2 #B25498 #B25469
triadic
#B25498 #98B254 #5498B2
tetradic
#B25498 #B29D54 #54B26E #5469B2
square
#B25498 #B29D54 #54B26E #5469B2
split-complementary
#B25498 #69B254 #54B29D
monochromatic
#602B52 #8A3E75 #B25498 #C57EB1 #D8A8CB

Accessibility & contrast

On white

4.55
#B25498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#B25498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25498
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25498#FFFFFF#000000##000000
##B254981.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#727B96
Tritanopia (blue-blind)
#BB566F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b25498;
/* rgb */ color: rgb(178, 84, 152);
/* oklch */ color: oklch(58.4% 0.147 339.1);
Tailwind
colors: {
  custom: {
    50: '#cb88b6',
    500: '#b25498',
    950: '#000000',
  },
}
SCSS
$custom: #b25498;
$custom-light: #cb88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b25498",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 316.596,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.14721,
    "h": 339.1
  },
  "luminance": 0.18073
}

Semantic roles & 50–950 ramp

primary
#B25498
secondary
#9CC6A8
accent
#CE7A5A
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C11
muted
#827D80

Preview Lab

Preview with #B25498

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

Preview Lab → · Contrast checker → · Palette generator →

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