#B02F96#B02F96

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

Color values

HEX#B02F96
RGBrgb(176, 47, 150)
HSLhsl(312, 58%, 44%)
HSVhsv(312, 73%, 69%)
CMYKcmyk(0%, 73.3%, 14.8%, 31%)
CIE-LABlab(43.46, 61.60, -27.86)
CIE-LCHlch(43.46, 67.61, 335.67°)
OKLaboklab(53.86% 0.1817 -0.0757)
OKLCHoklch(53.86% 0.197 337.4)
XYZxyz(24.4265, 13.4674, 30.1613)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F96 #2FB049
analogous
#892FB0 #B02F96 #B02F55
triadic
#B02F96 #96B02F #2F96B0
tetradic
#B02F96 #B0892F #2FB049 #2F55B0
square
#B02F96 #B0892F #2FB049 #2F55B0
split-complementary
#B02F96 #55B02F #2FB089
monochromatic
#4F1544 #80226D #B02F96 #CF4DB5 #DC7DC9

Accessibility & contrast

On white

5.69
#B02F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B02F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F96
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F96#FFFFFF#000000##FFFFFF
##B02F961.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#5F6E93
Tritanopia (blue-blind)
#BA365F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02f96;
/* rgb */ color: rgb(176, 47, 150);
/* oklch */ color: oklch(53.9% 0.197 337.4);
Tailwind
colors: {
  custom: {
    50: '#cb74b5',
    500: '#b02f96',
    950: '#000000',
  },
}
SCSS
$custom: #b02f96;
$custom-light: #cb74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f96",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 312.093,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.19685,
    "h": 337.4
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#B02F96
secondary
#76C586
accent
#E16647
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02F96

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

Preview Lab → · Contrast checker → · Palette generator →

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