#B02F8A#B02F8A

#B02F8A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 342.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B02F8A
RGBrgb(176, 47, 138)
HSLhsl(318, 58%, 44%)
HSVhsv(318, 73%, 69%)
CMYKcmyk(0%, 73.3%, 21.6%, 31%)
CIE-LABlab(42.91, 59.92, -21.43)
CIE-LCHlch(42.91, 63.64, 340.32°)
OKLaboklab(53.29% 0.18 -0.0575)
OKLCHoklch(53.29% 0.189 342.3)
XYZxyz(23.5092, 13.1005, 25.3304)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F8A #2FB055
analogous
#952FB0 #B02F8A #B02F49
triadic
#B02F8A #8AB02F #2F8AB0
tetradic
#B02F8A #B0952F #2FB055 #2F49B0
square
#B02F8A #B0952F #2FB055 #2F49B0
split-complementary
#B02F8A #49B02F #2FB095
monochromatic
#4F153E #802264 #B02F8A #CF4DA9 #DC7DC0

Accessibility & contrast

On white

5.80
#B02F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B02F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F8A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F8A#FFFFFF#000000##FFFFFF
##B02F8A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588D
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#BB3059
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02f8a;
/* rgb */ color: rgb(176, 47, 138);
/* oklch */ color: oklch(53.3% 0.189 342.3);
Tailwind
colors: {
  custom: {
    50: '#cb74ac',
    500: '#b02f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b02f8a;
$custom-light: #cb74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f8a",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 317.674,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.18894,
    "h": 342.3
  },
  "luminance": 0.13098
}

Semantic roles & 50–950 ramp

primary
#B02F8A
secondary
#76C58D
accent
#E17447
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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