#B25198#B25198

#B25198 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.0% C 0.152 H 338.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B25198
RGBrgb(178, 81, 152)
HSLhsl(316, 39%, 51%)
HSVhsv(316, 54%, 70%)
CMYKcmyk(0%, 54.5%, 14.6%, 30.2%)
CIE-LABlab(49.03, 48.26, -20.41)
CIE-LCHlch(49.03, 52.40, 337.08°)
OKLaboklab(58.03% 0.1419 -0.0549)
OKLCHoklch(58.03% 0.152 338.9)
XYZxyz(26.9704, 17.6189, 31.6800)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25198 #51B26B
analogous
#9B51B2 #B25198 #B25168
triadic
#B25198 #98B251 #5198B2
tetradic
#B25198 #B29B51 #51B26B #5168B2
square
#B25198 #B29B51 #51B26B #5168B2
split-complementary
#B25198 #68B251 #51B29B
monochromatic
#5F2A51 #893D75 #B25198 #C57BB1 #D8A6CA

Accessibility & contrast

On white

4.64
#B25198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B25198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B25198
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25198#FFFFFF#000000##FFFFFF
##B251981.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B9A
Deuteranopia (green-blind)
#707A95
Tritanopia (blue-blind)
#BB546D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b25198;
/* rgb */ color: rgb(178, 81, 152);
/* oklch */ color: oklch(58.0% 0.152 338.9);
Tailwind
colors: {
  custom: {
    50: '#cb86b6',
    500: '#b25198',
    950: '#000000',
  },
}
SCSS
$custom: #b25198;
$custom-light: #cb86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b25198",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 316.082,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.15213,
    "h": 338.9
  },
  "luminance": 0.17617
}

Semantic roles & 50–950 ramp

primary
#B25198
secondary
#9AC5A5
accent
#CF7959
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B25198

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

Preview Lab → · Contrast checker → · Palette generator →

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