#B5269C#B5269C

#B5269C is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.3% C 0.213 H 336.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B5269C
RGBrgb(181, 38, 156)
HSLhsl(310, 65%, 43%)
HSVhsv(310, 79%, 71%)
CMYKcmyk(0%, 79%, 13.8%, 29%)
CIE-LABlab(43.67, 66.32, -31.07)
CIE-LCHlch(43.67, 73.24, 334.90°)
OKLaboklab(54.27% 0.1952 -0.0847)
OKLCHoklch(54.27% 0.213 336.5)
XYZxyz(25.7504, 13.6127, 32.7174)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5269C #26B53F
analogous
#8726B5 #B5269C #B52654
triadic
#B5269C #9CB526 #269CB5
tetradic
#B5269C #B58726 #26B53F #2654B5
square
#B5269C #B58726 #26B53F #2654B5
split-complementary
#B5269C #54B526 #26B587
monochromatic
#501145 #821B70 #B5269C #D741BD #E274CE

Accessibility & contrast

On white

5.64
#B5269C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B5269C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5269C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5269C#FFFFFF#000000##FFFFFF
##B5269C1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#5D6F99
Tritanopia (blue-blind)
#BF3160
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5269c;
/* rgb */ color: rgb(181, 38, 156);
/* oklch */ color: oklch(54.3% 0.213 336.5);
Tailwind
colors: {
  custom: {
    50: '#cf72b9',
    500: '#b5269c',
    950: '#000000',
  },
}
SCSS
$custom: #b5269c;
$custom-light: #cf72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b5269c",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 310.49,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.21283,
    "h": 336.5
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#B5269C
secondary
#6EC97E
accent
#E85D40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B5269C

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

Preview Lab → · Contrast checker → · Palette generator →

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