#B261A2#B261A2

#B261A2 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 60.8% C 0.133 H 334.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B261A2
RGBrgb(178, 97, 162)
HSLhsl(312, 34%, 54%)
HSVhsv(312, 46%, 70%)
CMYKcmyk(0%, 45.5%, 9%, 30.2%)
CIE-LABlab(52.54, 41.80, -20.92)
CIE-LCHlch(52.54, 46.74, 333.41°)
OKLaboklab(60.77% 0.1205 -0.0565)
OKLCHoklch(60.77% 0.133 334.9)
XYZxyz(29.1563, 20.6248, 36.6207)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B261A2 #61B271
analogous
#9A61B2 #B261A2 #B2617A
triadic
#B261A2 #A2B261 #61A2B2
tetradic
#B261A2 #B29A61 #61B271 #617AB2
square
#B261A2 #B29A61 #61B271 #617AB2
split-complementary
#B261A2 #7AB261 #61B29A
monochromatic
#67325C #904681 #B261A2 #C68ABA #DAB3D2

Accessibility & contrast

On white

4.10
#B261A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B261A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B261A2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B261A2#FFFFFF#000000##000000
##B261A21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6176A4
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#B9657A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b261a2;
/* rgb */ color: rgb(178, 97, 162);
/* oklch */ color: oklch(60.8% 0.133 334.9);
Tailwind
colors: {
  custom: {
    50: '#cb90bd',
    500: '#b261a2',
    950: '#000000',
  },
}
SCSS
$custom: #b261a2;
$custom-light: #cb90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b261a2",
  "rgb": {
    "r": 178,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 311.852,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.13307,
    "h": 334.9
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#B261A2
secondary
#A6C9AD
accent
#CB735D
background
#FCF9FB
surface
#F9F1F6
border
#D2CBD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B261A2

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

Preview Lab → · Contrast checker → · Palette generator →

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