#B02A7A#B02A7A

#B02A7A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.185 H 349.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B02A7A
RGBrgb(176, 42, 122)
HSLhsl(324, 61%, 43%)
HSVhsv(324, 76%, 69%)
CMYKcmyk(0%, 76.1%, 30.7%, 31%)
CIE-LABlab(41.68, 59.52, -13.50)
CIE-LCHlch(41.68, 61.03, 347.22°)
OKLaboklab(52.18% 0.1818 -0.0354)
OKLCHoklch(52.18% 0.185 349)
XYZxyz(22.2465, 12.2937, 19.6100)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A7A #2AB060
analogous
#A32AB0 #B02A7A #B02A37
triadic
#B02A7A #7AB02A #2A7AB0
tetradic
#B02A7A #B0A32A #2AB060 #2A37B0
square
#B02A7A #B0A32A #2AB060 #2A37B0
split-complementary
#B02A7A #37B02A #2AB0A3
monochromatic
#4D1236 #7F1E58 #B02A7A #D34599 #DE76B4

Accessibility & contrast

On white

6.07
#B02A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B02A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A7A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A7A#FFFFFF#000000##FFFFFF
##B02A7A1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537C
Deuteranopia (green-blind)
#676B77
Tritanopia (blue-blind)
#BD224F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02a7a;
/* rgb */ color: rgb(176, 42, 122);
/* oklch */ color: oklch(52.2% 0.185 349.0);
Tailwind
colors: {
  custom: {
    50: '#cc71a0',
    500: '#b02a7a',
    950: '#000000',
  },
}
SCSS
$custom: #b02a7a;
$custom-light: #cc71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a7a",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 324.179,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.18517,
    "h": 349
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#B02A7A
secondary
#70C693
accent
#E58443
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B02A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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