#B02A6A#B02A6A

#B02A6A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.178 H 356.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B02A6A
RGBrgb(176, 42, 106)
HSLhsl(331, 61%, 43%)
HSVhsv(331, 76%, 69%)
CMYKcmyk(0%, 76.1%, 39.8%, 31%)
CIE-LABlab(41.10, 57.74, -4.41)
CIE-LCHlch(41.10, 57.90, 355.64°)
OKLaboklab(51.57% 0.1774 -0.0109)
OKLCHoklch(51.57% 0.178 356.5)
XYZxyz(21.3355, 11.9293, 14.8119)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A6A #2AB070
analogous
#B02AAD #B02A6A #B02D2A
triadic
#B02A6A #6AB02A #2A6AB0
tetradic
#B02A6A #ADB02A #2AB070 #2D2AB0
square
#B02A6A #ADB02A #2AB070 #2D2AB0
split-complementary
#B02A6A #2AB02D #2AADB0
monochromatic
#4D122E #7F1E4C #B02A6A #D34588 #DE76A8

Accessibility & contrast

On white

6.20
#B02A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B02A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A6A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A6A#FFFFFF#000000##FFFFFF
##B02A6A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#6B6A67
Tritanopia (blue-blind)
#BE1746
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02a6a;
/* rgb */ color: rgb(176, 42, 106);
/* oklch */ color: oklch(51.6% 0.178 356.5);
Tailwind
colors: {
  custom: {
    50: '#cd7194',
    500: '#b02a6a',
    950: '#000000',
  },
}
SCSS
$custom: #b02a6a;
$custom-light: #cd7194;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a6a",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 331.343,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.17771,
    "h": 356.5
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#B02A6A
secondary
#70C69D
accent
#E59843
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B02A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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