#B25299#B25299

#B25299 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.151 H 338.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B25299
RGBrgb(178, 82, 153)
HSLhsl(316, 38%, 51%)
HSVhsv(316, 54%, 70%)
CMYKcmyk(0%, 53.9%, 14%, 30.2%)
CIE-LABlab(49.25, 47.93, -20.66)
CIE-LCHlch(49.25, 52.19, 336.69°)
OKLaboklab(58.21% 0.1407 -0.0556)
OKLCHoklch(58.21% 0.151 338.4)
XYZxyz(27.1275, 17.8015, 32.1381)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25299 #52B26B
analogous
#9B52B2 #B25299 #B25269
triadic
#B25299 #99B252 #5299B2
tetradic
#B25299 #B29B52 #52B26B #5269B2
square
#B25299 #B29B52 #52B26B #5269B2
split-complementary
#B25299 #69B252 #52B29B
monochromatic
#5F2A51 #8A3D76 #B25299 #C57CB2 #D8A7CB

Accessibility & contrast

On white

4.61
#B25299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B25299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B25299
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25299#FFFFFF#000000##FFFFFF
##B252991.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9B
Deuteranopia (green-blind)
#707B96
Tritanopia (blue-blind)
#BB556E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b25299;
/* rgb */ color: rgb(178, 82, 153);
/* oklch */ color: oklch(58.2% 0.151 338.4);
Tailwind
colors: {
  custom: {
    50: '#cb87b7',
    500: '#b25299',
    950: '#000000',
  },
}
SCSS
$custom: #b25299;
$custom-light: #cb87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b25299",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 315.625,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.15126,
    "h": 338.4
  },
  "luminance": 0.17799
}

Semantic roles & 50–950 ramp

primary
#B25299
secondary
#9BC5A6
accent
#CE7859
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B25299

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

Preview Lab → · Contrast checker → · Palette generator →

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