#B02A6C#B02A6C

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

Color values

HEX#B02A6C
RGBrgb(176, 42, 108)
HSLhsl(330, 61%, 43%)
HSVhsv(330, 76%, 69%)
CMYKcmyk(0%, 76.1%, 38.6%, 31%)
CIE-LABlab(41.17, 57.95, -5.56)
CIE-LCHlch(41.17, 58.21, 354.52°)
OKLaboklab(51.64% 0.178 -0.0139)
OKLCHoklch(51.64% 0.179 355.5)
XYZxyz(21.4407, 11.9714, 15.3661)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A6C #2AB06E
analogous
#B02AAF #B02A6C #B02B2A
triadic
#B02A6C #6CB02A #2A6CB0
tetradic
#B02A6C #AFB02A #2AB06E #2B2AB0
square
#B02A6C #AFB02A #2AB06E #2B2AB0
split-complementary
#B02A6C #2AB02B #2AAFB0
monochromatic
#4D122F #7F1E4E #B02A6C #D3458B #DE76A9

Accessibility & contrast

On white

6.19
#B02A6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A6C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A6C#FFFFFF#000000##FFFFFF
##B02A6C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#BE1947
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02a6c;
/* rgb */ color: rgb(176, 42, 108);
/* oklch */ color: oklch(51.6% 0.179 355.5);
Tailwind
colors: {
  custom: {
    50: '#cd7196',
    500: '#b02a6c',
    950: '#000000',
  },
}
SCSS
$custom: #b02a6c;
$custom-light: #cd7196;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a6c",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 330.448,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.17853,
    "h": 355.5
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#B02A6C
secondary
#70C69C
accent
#E59543
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B02A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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