#B02A7E#B02A7E

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

Color values

HEX#B02A7E
RGBrgb(176, 42, 126)
HSLhsl(322, 61%, 43%)
HSVhsv(322, 76%, 69%)
CMYKcmyk(0%, 76.1%, 28.4%, 31%)
CIE-LABlab(41.84, 60.00, -15.73)
CIE-LCHlch(41.84, 62.03, 345.31°)
OKLaboklab(52.34% 0.1827 -0.0415)
OKLCHoklch(52.34% 0.187 347.2)
XYZxyz(22.4994, 12.3949, 20.9422)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A7E #2AB05C
analogous
#9F2AB0 #B02A7E #B02A3B
triadic
#B02A7E #7EB02A #2A7EB0
tetradic
#B02A7E #B09F2A #2AB05C #2A3BB0
square
#B02A7E #B09F2A #2AB05C #2A3BB0
split-complementary
#B02A7E #3BB02A #2AB09F
monochromatic
#4D1237 #7F1E5B #B02A7E #D3459E #DE76B7

Accessibility & contrast

On white

6.04
#B02A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A7E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A7E#FFFFFF#000000##FFFFFF
##B02A7E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#BD2551
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02a7e;
/* rgb */ color: rgb(176, 42, 126);
/* oklch */ color: oklch(52.3% 0.187 347.2);
Tailwind
colors: {
  custom: {
    50: '#cc71a3',
    500: '#b02a7e',
    950: '#000000',
  },
}
SCSS
$custom: #b02a7e;
$custom-light: #cc71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a7e",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 322.388,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.18733,
    "h": 347.2
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#B02A7E
secondary
#70C690
accent
#E57F43
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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