#B02A7C#B02A7C

#B02A7C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.186 H 348.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B02A7C
RGBrgb(176, 42, 124)
HSLhsl(323, 61%, 43%)
HSVhsv(323, 76%, 69%)
CMYKcmyk(0%, 76.1%, 29.5%, 31%)
CIE-LABlab(41.76, 59.76, -14.62)
CIE-LCHlch(41.76, 61.52, 346.26°)
OKLaboklab(52.26% 0.1822 -0.0385)
OKLCHoklch(52.26% 0.186 348.1)
XYZxyz(22.3717, 12.3438, 20.2693)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A7C #2AB05E
analogous
#A12AB0 #B02A7C #B02A39
triadic
#B02A7C #7CB02A #2A7CB0
tetradic
#B02A7C #B0A12A #2AB05E #2A39B0
square
#B02A7C #B0A12A #2AB05E #2A39B0
split-complementary
#B02A7C #39B02A #2AB0A1
monochromatic
#4D1236 #7F1E59 #B02A7C #D3459B #DE76B6

Accessibility & contrast

On white

6.06
#B02A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B02A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A7C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A7C#FFFFFF#000000##FFFFFF
##B02A7C1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#BD2450
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02a7c;
/* rgb */ color: rgb(176, 42, 124);
/* oklch */ color: oklch(52.3% 0.186 348.1);
Tailwind
colors: {
  custom: {
    50: '#cc71a2',
    500: '#b02a7c',
    950: '#000000',
  },
}
SCSS
$custom: #b02a7c;
$custom-light: #cc71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a7c",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 323.284,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.18623,
    "h": 348.1
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#B02A7C
secondary
#70C691
accent
#E58243
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B02A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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