#B02A8F#B02A8F

#B02A8F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.198 H 340.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B02A8F
RGBrgb(176, 42, 143)
HSLhsl(315, 61%, 43%)
HSVhsv(315, 76%, 69%)
CMYKcmyk(0%, 76.1%, 18.7%, 31%)
CIE-LABlab(42.57, 62.21, -25.01)
CIE-LCHlch(42.57, 67.05, 338.10°)
OKLaboklab(53.11% 0.1857 -0.0675)
OKLCHoklch(53.11% 0.198 340)
XYZxyz(23.6911, 12.8716, 27.2181)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A8F #2AB04B
analogous
#8E2AB0 #B02A8F #B02A4C
triadic
#B02A8F #8FB02A #2A8FB0
tetradic
#B02A8F #B08E2A #2AB04B #2A4CB0
square
#B02A8F #B08E2A #2AB04B #2A4CB0
split-complementary
#B02A8F #4CB02A #2AB08E
monochromatic
#4D123F #7F1E67 #B02A8F #D345B0 #DE76C5

Accessibility & contrast

On white

5.88
#B02A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B02A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A8F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A8F#FFFFFF#000000##FFFFFF
##B02A8F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#606C8C
Tritanopia (blue-blind)
#BB2F5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02a8f;
/* rgb */ color: rgb(176, 42, 143);
/* oklch */ color: oklch(53.1% 0.198 340.0);
Tailwind
colors: {
  custom: {
    50: '#cc72b0',
    500: '#b02a8f',
    950: '#000000',
  },
}
SCSS
$custom: #b02a8f;
$custom-light: #cc72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a8f",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 314.776,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.19758,
    "h": 340
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#B02A8F
secondary
#70C685
accent
#E56B43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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