#B25197#B25197

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

Color values

HEX#B25197
RGBrgb(178, 81, 151)
HSLhsl(317, 39%, 51%)
HSVhsv(317, 54%, 70%)
CMYKcmyk(0%, 54.5%, 15.2%, 30.2%)
CIE-LABlab(48.99, 48.10, -19.87)
CIE-LCHlch(48.99, 52.04, 337.55°)
OKLaboklab(57.99% 0.1417 -0.0534)
OKLCHoklch(57.99% 0.151 339.4)
XYZxyz(26.8888, 17.5863, 31.2505)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25197 #51B26C
analogous
#9C51B2 #B25197 #B25166
triadic
#B25197 #97B251 #5197B2
tetradic
#B25197 #B29C51 #51B26C #5166B2
square
#B25197 #B29C51 #51B26C #5166B2
split-complementary
#B25197 #66B251 #51B29C
monochromatic
#5F2A50 #893D74 #B25197 #C57BB0 #D8A6CA

Accessibility & contrast

On white

4.65
#B25197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B25197
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25197#FFFFFF#000000##FFFFFF
##B251971.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#717A94
Tritanopia (blue-blind)
#BB536D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b25197;
/* rgb */ color: rgb(178, 81, 151);
/* oklch */ color: oklch(58.0% 0.151 339.4);
Tailwind
colors: {
  custom: {
    50: '#cb86b5',
    500: '#b25197',
    950: '#000000',
  },
}
SCSS
$custom: #b25197;
$custom-light: #cb86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b25197",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 316.701,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.15138,
    "h": 339.4
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#B25197
secondary
#9AC5A6
accent
#CF7A59
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #B25197

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

Preview Lab → · Contrast checker → · Palette generator →

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