#B02F99#B02F99

#B02F99 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.199 H 336.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B02F99
RGBrgb(176, 47, 153)
HSLhsl(311, 58%, 44%)
HSVhsv(311, 73%, 69%)
CMYKcmyk(0%, 73.3%, 13.1%, 31%)
CIE-LABlab(43.60, 62.04, -29.44)
CIE-LCHlch(43.60, 68.67, 334.61°)
OKLaboklab(54.01% 0.182 -0.0802)
OKLCHoklch(54.01% 0.199 336.2)
XYZxyz(24.6712, 13.5653, 31.4498)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F99 #2FB046
analogous
#862FB0 #B02F99 #B02F58
triadic
#B02F99 #99B02F #2F99B0
tetradic
#B02F99 #B0862F #2FB046 #2F58B0
square
#B02F99 #B0862F #2FB046 #2F58B0
split-complementary
#B02F99 #58B02F #2FB086
monochromatic
#4F1545 #80226F #B02F99 #CF4DB8 #DC7DCB

Accessibility & contrast

On white

5.66
#B02F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B02F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F99
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F99#FFFFFF#000000##FFFFFF
##B02F991.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#B93861
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02f99;
/* rgb */ color: rgb(176, 47, 153);
/* oklch */ color: oklch(54.0% 0.199 336.2);
Tailwind
colors: {
  custom: {
    50: '#cb74b7',
    500: '#b02f99',
    950: '#000000',
  },
}
SCSS
$custom: #b02f99;
$custom-light: #cb74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f99",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 310.698,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54013,
    "c": 0.19893,
    "h": 336.2
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#B02F99
secondary
#76C584
accent
#E16247
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #B02F99

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

Preview Lab → · Contrast checker → · Palette generator →

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