#B02A8B#B02A8B

#B02A8B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.195 H 341.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B02A8B
RGBrgb(176, 42, 139)
HSLhsl(317, 61%, 43%)
HSVhsv(317, 76%, 69%)
CMYKcmyk(0%, 76.1%, 21%, 31%)
CIE-LABlab(42.39, 61.67, -22.85)
CIE-LCHlch(42.39, 65.77, 339.67°)
OKLaboklab(52.92% 0.1851 -0.0615)
OKLCHoklch(52.92% 0.195 341.6)
XYZxyz(23.3934, 12.7525, 25.6506)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A8B #2AB04F
analogous
#922AB0 #B02A8B #B02A48
triadic
#B02A8B #8BB02A #2A8BB0
tetradic
#B02A8B #B0922A #2AB04F #2A48B0
square
#B02A8B #B0922A #2AB04F #2A48B0
split-complementary
#B02A8B #48B02A #2AB092
monochromatic
#4D123D #7F1E64 #B02A8B #D345AB #DE76C2

Accessibility & contrast

On white

5.92
#B02A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B02A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A8B
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A8B#FFFFFF#000000##FFFFFF
##B02A8B1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568E
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#BB2C58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02a8b;
/* rgb */ color: rgb(176, 42, 139);
/* oklch */ color: oklch(52.9% 0.195 341.6);
Tailwind
colors: {
  custom: {
    50: '#cc72ad',
    500: '#b02a8b',
    950: '#000000',
  },
}
SCSS
$custom: #b02a8b;
$custom-light: #cc72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a8b",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 316.567,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52922,
    "c": 0.19503,
    "h": 341.6
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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