#B02F97#B02F97

#B02F97 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 337.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B02F97
RGBrgb(176, 47, 151)
HSLhsl(312, 58%, 44%)
HSVhsv(312, 73%, 69%)
CMYKcmyk(0%, 73.3%, 14.2%, 31%)
CIE-LABlab(43.51, 61.75, -28.39)
CIE-LCHlch(43.51, 67.96, 335.31°)
OKLaboklab(53.91% 0.1818 -0.0772)
OKLCHoklch(53.91% 0.198 337)
XYZxyz(24.5074, 13.4998, 30.5872)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F97 #2FB048
analogous
#882FB0 #B02F97 #B02F56
triadic
#B02F97 #97B02F #2F97B0
tetradic
#B02F97 #B0882F #2FB048 #2F56B0
square
#B02F97 #B0882F #2FB048 #2F56B0
split-complementary
#B02F97 #56B02F #2FB088
monochromatic
#4F1544 #80226E #B02F97 #CF4DB6 #DC7DCA

Accessibility & contrast

On white

5.68
#B02F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B02F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F97
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F97#FFFFFF#000000##FFFFFF
##B02F971.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#B93760
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02f97;
/* rgb */ color: rgb(176, 47, 151);
/* oklch */ color: oklch(53.9% 0.198 337.0);
Tailwind
colors: {
  custom: {
    50: '#cb74b6',
    500: '#b02f97',
    950: '#000000',
  },
}
SCSS
$custom: #b02f97;
$custom-light: #cb74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f97",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 311.628,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.19753,
    "h": 337
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#B02F97
secondary
#76C585
accent
#E16547
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02F97

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

Preview Lab → · Contrast checker → · Palette generator →

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