#BF27A2#BF27A2

#BF27A2 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.2% C 0.221 H 337.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BF27A2
RGBrgb(191, 39, 162)
HSLhsl(311, 66%, 45%)
HSVhsv(311, 80%, 75%)
CMYKcmyk(0%, 79.6%, 15.2%, 25.1%)
CIE-LABlab(45.82, 69.09, -31.17)
CIE-LCHlch(45.82, 75.80, 335.72°)
OKLaboklab(56.24% 0.2043 -0.0848)
OKLCHoklch(56.24% 0.221 337.4)
XYZxyz(28.7336, 15.1388, 35.5842)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF27A2 #27BF44
analogous
#9027BF #BF27A2 #BF2756
triadic
#BF27A2 #A2BF27 #27A2BF
tetradic
#BF27A2 #BF9027 #27BF44 #2756BF
square
#BF27A2 #BF9027 #27BF44 #2756BF
split-complementary
#BF27A2 #56BF27 #27BF90
monochromatic
#59124C #8C1D77 #BF27A2 #DA49BE #E47CD0

Accessibility & contrast

On white

5.21
#BF27A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BF27A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF27A2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF27A2#FFFFFF#000000##FFFFFF
##BF27A21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#CA3264
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bf27a2;
/* rgb */ color: rgb(191, 39, 162);
/* oklch */ color: oklch(56.2% 0.221 337.4);
Tailwind
colors: {
  custom: {
    50: '#d774be',
    500: '#bf27a2',
    950: '#000000',
  },
}
SCSS
$custom: #bf27a2;
$custom-light: #d774be;
$custom-dark: #000000;
JSON
{
  "hex": "#bf27a2",
  "rgb": {
    "r": 191,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 311.447,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56242,
    "c": 0.2212,
    "h": 337.4
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#BF27A2
secondary
#75CC86
accent
#E95F3F
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BF27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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