#B264A2#B264A2

#B264A2 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.2% C 0.128 H 335.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B264A2
RGBrgb(178, 100, 162)
HSLhsl(312, 34%, 55%)
HSVhsv(312, 44%, 70%)
CMYKcmyk(0%, 43.8%, 9%, 30.2%)
CIE-LABlab(53.16, 40.21, -19.97)
CIE-LCHlch(53.16, 44.89, 333.59°)
OKLaboklab(61.24% 0.1159 -0.0538)
OKLCHoklch(61.24% 0.128 335.1)
XYZxyz(29.4388, 21.1897, 36.7148)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B264A2 #64B274
analogous
#9B64B2 #B264A2 #B2647B
triadic
#B264A2 #A2B264 #64A2B2
tetradic
#B264A2 #B29B64 #64B274 #647BB2
square
#B264A2 #B29B64 #64B274 #647BB2
split-complementary
#B264A2 #7BB264 #64B29B
monochromatic
#68345D #914882 #B264A2 #C68DBB #DBB6D3

Accessibility & contrast

On white

4.01
#B264A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B264A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B264A2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B264A2#FFFFFF#000000##000000
##B264A21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#B9687C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b264a2;
/* rgb */ color: rgb(178, 100, 162);
/* oklch */ color: oklch(61.2% 0.128 335.1);
Tailwind
colors: {
  custom: {
    50: '#ca92bd',
    500: '#b264a2',
    950: '#000000',
  },
}
SCSS
$custom: #b264a2;
$custom-light: #ca92bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b264a2",
  "rgb": {
    "r": 178,
    "g": 100,
    "b": 162
  },
  "hsl": {
    "h": 312.308,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.12779,
    "h": 335.1
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#B264A2
secondary
#A8C9AF
accent
#CA745E
background
#FCF9FB
surface
#F9F1F6
border
#D2CBD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B264A2

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

Preview Lab → · Contrast checker → · Palette generator →

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