#B02A7F#B02A7F

#B02A7F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.188 H 346.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B02A7F
RGBrgb(176, 42, 127)
HSLhsl(322, 61%, 43%)
HSVhsv(322, 76%, 69%)
CMYKcmyk(0%, 76.1%, 27.8%, 31%)
CIE-LABlab(41.88, 60.13, -16.28)
CIE-LCHlch(41.88, 62.29, 344.85°)
OKLaboklab(52.39% 0.1829 -0.0431)
OKLCHoklch(52.39% 0.188 346.7)
XYZxyz(22.5643, 12.4209, 21.2837)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A7F #2AB05B
analogous
#9E2AB0 #B02A7F #B02A3C
triadic
#B02A7F #7FB02A #2A7FB0
tetradic
#B02A7F #B09E2A #2AB05B #2A3CB0
square
#B02A7F #B09E2A #2AB05B #2A3CB0
split-complementary
#B02A7F #3CB02A #2AB09E
monochromatic
#4D1238 #7F1E5B #B02A7F #D3459F #DE76B8

Accessibility & contrast

On white

6.03
#B02A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B02A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A7F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A7F#FFFFFF#000000##FFFFFF
##B02A7F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#BC2551
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02a7f;
/* rgb */ color: rgb(176, 42, 127);
/* oklch */ color: oklch(52.4% 0.188 346.7);
Tailwind
colors: {
  custom: {
    50: '#cc71a4',
    500: '#b02a7f',
    950: '#000000',
  },
}
SCSS
$custom: #b02a7f;
$custom-light: #cc71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a7f",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 321.94,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.18789,
    "h": 346.7
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#B02A7F
secondary
#70C68F
accent
#E57E43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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