#B259A2#B259A2

#B259A2 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.6% C 0.147 H 334.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B259A2
RGBrgb(178, 89, 162)
HSLhsl(311, 37%, 52%)
HSVhsv(311, 50%, 70%)
CMYKcmyk(0%, 50%, 9%, 30.2%)
CIE-LABlab(50.94, 45.93, -23.37)
CIE-LCHlch(50.94, 51.53, 333.03°)
OKLaboklab(59.59% 0.1325 -0.0633)
OKLCHoklch(59.59% 0.147 334.5)
XYZxyz(28.4541, 19.2202, 36.3866)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B259A2 #59B269
analogous
#9659B2 #B259A2 #B25975
triadic
#B259A2 #A2B259 #59A2B2
tetradic
#B259A2 #B29659 #59B269 #5975B2
square
#B259A2 #B29659 #59B269 #5975B2
split-complementary
#B259A2 #75B259 #59B296
monochromatic
#632E59 #8D417F #B259A2 #C583B9 #D9ADD1

Accessibility & contrast

On white

4.34
#B259A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B259A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B259A2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B259A2#FFFFFF#000000##000000
##B259A21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#B95E76
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b259a2;
/* rgb */ color: rgb(178, 89, 162);
/* oklch */ color: oklch(59.6% 0.147 334.5);
Tailwind
colors: {
  custom: {
    50: '#cb8bbd',
    500: '#b259a2',
    950: '#000000',
  },
}
SCSS
$custom: #b259a2;
$custom-light: #cb8bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b259a2",
  "rgb": {
    "r": 178,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 310.787,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.14681,
    "h": 334.5
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#B259A2
secondary
#A0C7A7
accent
#CD705B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B259A2

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

Preview Lab → · Contrast checker → · Palette generator →

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