#B02F88#B02F88

#B02F88 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.188 H 343.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B02F88
RGBrgb(176, 47, 136)
HSLhsl(319, 58%, 44%)
HSVhsv(319, 73%, 69%)
CMYKcmyk(0%, 73.3%, 22.7%, 31%)
CIE-LABlab(42.83, 59.65, -20.34)
CIE-LCHlch(42.83, 63.02, 341.17°)
OKLaboklab(53.2% 0.1796 -0.0544)
OKLCHoklch(53.2% 0.188 343.1)
XYZxyz(23.3658, 13.0431, 24.5748)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F88 #2FB057
analogous
#972FB0 #B02F88 #B02F47
triadic
#B02F88 #88B02F #2F88B0
tetradic
#B02F88 #B0972F #2FB057 #2F47B0
square
#B02F88 #B0972F #2FB057 #2F47B0
split-complementary
#B02F88 #47B02F #2FB097
monochromatic
#4F153D #802263 #B02F88 #CF4DA7 #DC7DBF

Accessibility & contrast

On white

5.82
#B02F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B02F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F88
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F88#FFFFFF#000000##FFFFFF
##B02F881.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588A
Deuteranopia (green-blind)
#646D85
Tritanopia (blue-blind)
#BB2F58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02f88;
/* rgb */ color: rgb(176, 47, 136);
/* oklch */ color: oklch(53.2% 0.188 343.1);
Tailwind
colors: {
  custom: {
    50: '#cc74ab',
    500: '#b02f88',
    950: '#000000',
  },
}
SCSS
$custom: #b02f88;
$custom-light: #cc74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f88",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 318.605,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.18769,
    "h": 343.1
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#B02F88
secondary
#76C58E
accent
#E17747
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02F88

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

Preview Lab → · Contrast checker → · Palette generator →

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