#B02A6B#B02A6B

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

Color values

HEX#B02A6B
RGBrgb(176, 42, 107)
HSLhsl(331, 61%, 43%)
HSVhsv(331, 76%, 69%)
CMYKcmyk(0%, 76.1%, 39.2%, 31%)
CIE-LABlab(41.14, 57.84, -4.98)
CIE-LCHlch(41.14, 58.05, 355.08°)
OKLaboklab(51.6% 0.1777 -0.0124)
OKLCHoklch(51.6% 0.178 356)
XYZxyz(21.3878, 11.9503, 15.0874)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A6B #2AB06F
analogous
#B02AAE #B02A6B #B02C2A
triadic
#B02A6B #6BB02A #2A6BB0
tetradic
#B02A6B #AEB02A #2AB06F #2C2AB0
square
#B02A6B #AEB02A #2AB06F #2C2AB0
split-complementary
#B02A6B #2AB02C #2AAEB0
monochromatic
#4D122F #7F1E4D #B02A6B #D34589 #DE76A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02A6B#FFFFFF#000000##FFFFFF
##B02A6B1.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)
#45516D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BE1847
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02a6b;
/* rgb */ color: rgb(176, 42, 107);
/* oklch */ color: oklch(51.6% 0.178 356.0);
Tailwind
colors: {
  custom: {
    50: '#cd7195',
    500: '#b02a6b',
    950: '#000000',
  },
}
SCSS
$custom: #b02a6b;
$custom-light: #cd7195;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a6b",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 330.896,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.17812,
    "h": 356
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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