#BF30A7#BF30A7

#BF30A7 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.1% C 0.216 H 335.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BF30A7
RGBrgb(191, 48, 167)
HSLhsl(310, 60%, 47%)
HSVhsv(310, 75%, 75%)
CMYKcmyk(0%, 74.9%, 12.6%, 25.1%)
CIE-LABlab(46.95, 67.25, -32.37)
CIE-LCHlch(46.95, 74.64, 334.30°)
OKLaboklab(57.13% 0.1971 -0.0883)
OKLCHoklch(57.13% 0.216 335.9)
XYZxyz(29.5183, 15.9830, 38.0821)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF30A7 #30BF48
analogous
#9030BF #BF30A7 #BF3060
triadic
#BF30A7 #A7BF30 #30A7BF
tetradic
#BF30A7 #BF9030 #30BF48 #3060BF
square
#BF30A7 #BF9030 #30BF48 #3060BF
split-complementary
#BF30A7 #60BF30 #30BF90
monochromatic
#5D1751 #8E247C #BF30A7 #D557C0 #E188D2

Accessibility & contrast

On white

5.00
#BF30A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BF30A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF30A7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF30A7#FFFFFF#000000##FFFFFF
##BF30A71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#C93B69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bf30a7;
/* rgb */ color: rgb(191, 48, 167);
/* oklch */ color: oklch(57.1% 0.216 335.9);
Tailwind
colors: {
  custom: {
    50: '#d677c1',
    500: '#bf30a7',
    950: '#000000',
  },
}
SCSS
$custom: #bf30a7;
$custom-light: #d677c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf30a7",
  "rgb": {
    "r": 191,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 310.07,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.216,
    "h": 335.9
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#BF30A7
secondary
#80CB8C
accent
#E35F45
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BF30A7

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

Preview Lab → · Contrast checker → · Palette generator →

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