#B02971#B02971

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

Color values

HEX#B02971
RGBrgb(176, 41, 113)
HSLhsl(328, 62%, 43%)
HSVhsv(328, 77%, 69%)
CMYKcmyk(0%, 76.7%, 35.8%, 31%)
CIE-LABlab(41.23, 58.80, -8.58)
CIE-LCHlch(41.23, 59.42, 351.69°)
OKLaboklab(51.74% 0.1804 -0.022)
OKLCHoklch(51.74% 0.182 353)
XYZxyz(21.6794, 12.0109, 16.7963)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02971 #29B068
analogous
#AB29B0 #B02971 #B0292D
triadic
#B02971 #71B029 #2971B0
tetradic
#B02971 #B0AB29 #29B068 #292DB0
square
#B02971 #B0AB29 #29B068 #292DB0
split-complementary
#B02971 #2DB029 #29B0AB
monochromatic
#4D1231 #7E1D51 #B02971 #D34390 #DF75AD

Accessibility & contrast

On white

6.17
#B02971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02971
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02971#FFFFFF#000000##FFFFFF
##B029711.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#BE1B4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02971;
/* rgb */ color: rgb(176, 41, 113);
/* oklch */ color: oklch(51.7% 0.182 353.0);
Tailwind
colors: {
  custom: {
    50: '#cc7099',
    500: '#b02971',
    950: '#000000',
  },
}
SCSS
$custom: #b02971;
$custom-light: #cc7099;
$custom-dark: #000000;
JSON
{
  "hex": "#b02971",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 328,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.18177,
    "h": 353
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#B02971
secondary
#6FC697
accent
#E58E43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B02971

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

Preview Lab → · Contrast checker → · Palette generator →

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