#B02A8D#B02A8D

#B02A8D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.196 H 340.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B02A8D
RGBrgb(176, 42, 141)
HSLhsl(316, 61%, 43%)
HSVhsv(316, 76%, 69%)
CMYKcmyk(0%, 76.1%, 19.9%, 31%)
CIE-LABlab(42.48, 61.94, -23.93)
CIE-LCHlch(42.48, 66.40, 338.88°)
OKLaboklab(53.02% 0.1854 -0.0645)
OKLCHoklch(53.02% 0.196 340.8)
XYZxyz(23.5409, 12.8115, 26.4272)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A8D #2AB04D
analogous
#902AB0 #B02A8D #B02A4A
triadic
#B02A8D #8DB02A #2A8DB0
tetradic
#B02A8D #B0902A #2AB04D #2A4AB0
square
#B02A8D #B0902A #2AB04D #2A4AB0
split-complementary
#B02A8D #4AB02A #2AB090
monochromatic
#4D123E #7F1E65 #B02A8D #D345AD #DE76C3

Accessibility & contrast

On white

5.90
#B02A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A8D
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A8D#FFFFFF#000000##FFFFFF
##B02A8D1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BB2E59
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02a8d;
/* rgb */ color: rgb(176, 42, 141);
/* oklch */ color: oklch(53.0% 0.196 340.8);
Tailwind
colors: {
  custom: {
    50: '#cc72ae',
    500: '#b02a8d',
    950: '#000000',
  },
}
SCSS
$custom: #b02a8d;
$custom-light: #cc72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a8d",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 315.672,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.19629,
    "h": 340.8
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#B02A8D
secondary
#70C686
accent
#E56D43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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