#B02A6D#B02A6D

#B02A6D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.179 H 355.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B02A6D
RGBrgb(176, 42, 109)
HSLhsl(330, 61%, 43%)
HSVhsv(330, 76%, 69%)
CMYKcmyk(0%, 76.1%, 38.1%, 31%)
CIE-LABlab(41.20, 58.05, -6.13)
CIE-LCHlch(41.20, 58.38, 353.97°)
OKLaboklab(51.67% 0.1783 -0.0154)
OKLCHoklch(51.67% 0.179 355.1)
XYZxyz(21.4942, 11.9928, 15.6480)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A6D #2AB06D
analogous
#B02AB0 #B02A6D #B02A2A
triadic
#B02A6D #6DB02A #2A6DB0
tetradic
#B02A6D #B0B02A #2AB06D #2A2AB0
square
#B02A6D #B0B02A #2AB06D #2A2AB0
split-complementary
#B02A6D #2AB02A #2AB0B0
monochromatic
#4D1230 #7F1E4E #B02A6D #D3458C #DE76AA

Accessibility & contrast

On white

6.18
#B02A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B02A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A6D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A6D#FFFFFF#000000##FFFFFF
##B02A6D1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516F
Deuteranopia (green-blind)
#6A6A6A
Tritanopia (blue-blind)
#BE1A48
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02a6d;
/* rgb */ color: rgb(176, 42, 109);
/* oklch */ color: oklch(51.7% 0.179 355.1);
Tailwind
colors: {
  custom: {
    50: '#cd7196',
    500: '#b02a6d',
    950: '#000000',
  },
}
SCSS
$custom: #b02a6d;
$custom-light: #cd7196;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a6d",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 330,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.17896,
    "h": 355.1
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#B02A6D
secondary
#70C69B
accent
#E59443
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B02A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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