#B02A7D#B02A7D

#B02A7D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.187 H 347.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B02A7D
RGBrgb(176, 42, 125)
HSLhsl(323, 61%, 43%)
HSVhsv(323, 76%, 69%)
CMYKcmyk(0%, 76.1%, 29%, 31%)
CIE-LABlab(41.80, 59.88, -15.17)
CIE-LCHlch(41.80, 61.77, 345.78°)
OKLaboklab(52.3% 0.1825 -0.04)
OKLCHoklch(52.3% 0.187 347.6)
XYZxyz(22.4352, 12.3692, 20.6041)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A7D #2AB05D
analogous
#A02AB0 #B02A7D #B02A3A
triadic
#B02A7D #7DB02A #2A7DB0
tetradic
#B02A7D #B0A02A #2AB05D #2A3AB0
square
#B02A7D #B0A02A #2AB05D #2A3AB0
split-complementary
#B02A7D #3AB02A #2AB0A0
monochromatic
#4D1237 #7F1E5A #B02A7D #D3459D #DE76B7

Accessibility & contrast

On white

6.05
#B02A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B02A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A7D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A7D#FFFFFF#000000##FFFFFF
##B02A7D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#BD2450
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02a7d;
/* rgb */ color: rgb(176, 42, 125);
/* oklch */ color: oklch(52.3% 0.187 347.6);
Tailwind
colors: {
  custom: {
    50: '#cc71a2',
    500: '#b02a7d',
    950: '#000000',
  },
}
SCSS
$custom: #b02a7d;
$custom-light: #cc71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a7d",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 322.836,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.523,
    "c": 0.18678,
    "h": 347.6
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#B02A7D
secondary
#70C691
accent
#E58143
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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