#B25898#B25898

#B25898 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.141 H 339.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B25898
RGBrgb(178, 88, 152)
HSLhsl(317, 37%, 52%)
HSVhsv(317, 51%, 70%)
CMYKcmyk(0%, 50.6%, 14.6%, 30.2%)
CIE-LABlab(50.35, 44.78, -18.38)
CIE-LCHlch(50.35, 48.41, 337.68°)
OKLaboklab(59.01% 0.1316 -0.0493)
OKLCHoklch(59.01% 0.141 339.5)
XYZxyz(27.5176, 18.7134, 31.8624)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25898 #58B272
analogous
#9F58B2 #B25898 #B2586B
triadic
#B25898 #98B258 #5898B2
tetradic
#B25898 #B29F58 #58B272 #586BB2
square
#B25898 #B29F58 #58B272 #586BB2
split-complementary
#B25898 #6BB258 #58B29F
monochromatic
#622D53 #8C4176 #B25898 #C582B2 #D9ACCC

Accessibility & contrast

On white

4.43
#B25898 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B25898 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25898
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25898#FFFFFF#000000##000000
##B258981.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#BB5A71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b25898;
/* rgb */ color: rgb(178, 88, 152);
/* oklch */ color: oklch(59.0% 0.141 339.5);
Tailwind
colors: {
  custom: {
    50: '#cb8ab6',
    500: '#b25898',
    950: '#000000',
  },
}
SCSS
$custom: #b25898;
$custom-light: #cb8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#b25898",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 317.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.14052,
    "h": 339.5
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#B25898
secondary
#9FC7AB
accent
#CD7C5B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C11
muted
#827D80

Preview Lab

Preview with #B25898

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

Preview Lab → · Contrast checker → · Palette generator →

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