#B02A8A#B02A8A

#B02A8A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.194 H 342.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B02A8A
RGBrgb(176, 42, 138)
HSLhsl(317, 61%, 43%)
HSVhsv(317, 76%, 69%)
CMYKcmyk(0%, 76.1%, 21.6%, 31%)
CIE-LABlab(42.34, 61.54, -22.31)
CIE-LCHlch(42.34, 65.46, 340.07°)
OKLaboklab(52.88% 0.1849 -0.0599)
OKLCHoklch(52.88% 0.194 342)
XYZxyz(23.3207, 12.7234, 25.2675)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A8A #2AB050
analogous
#932AB0 #B02A8A #B02A47
triadic
#B02A8A #8AB02A #2A8AB0
tetradic
#B02A8A #B0932A #2AB050 #2A47B0
square
#B02A8A #B0932A #2AB050 #2A47B0
split-complementary
#B02A8A #47B02A #2AB093
monochromatic
#4D123D #7F1E63 #B02A8A #D345AA #DE76C1

Accessibility & contrast

On white

5.93
#B02A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B02A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A8A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A8A#FFFFFF#000000##FFFFFF
##B02A8A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#BB2C57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02a8a;
/* rgb */ color: rgb(176, 42, 138);
/* oklch */ color: oklch(52.9% 0.194 342.0);
Tailwind
colors: {
  custom: {
    50: '#cc72ac',
    500: '#b02a8a',
    950: '#000000',
  },
}
SCSS
$custom: #b02a8a;
$custom-light: #cc72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a8a",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 317.015,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.1944,
    "h": 342
  },
  "luminance": 0.12721
}

Semantic roles & 50–950 ramp

primary
#B02A8A
secondary
#70C688
accent
#E57143
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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