#B02A5F#B02A5F

#B02A5F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.174 H 1.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B02A5F
RGBrgb(176, 42, 95)
HSLhsl(336, 61%, 43%)
HSVhsv(336, 76%, 69%)
CMYKcmyk(0%, 76.1%, 46%, 31%)
CIE-LABlab(40.76, 56.65, 2.00)
CIE-LCHlch(40.76, 56.69, 2.02°)
OKLaboklab(51.2% 0.1738 0.0058)
OKLCHoklch(51.2% 0.174 1.9)
XYZxyz(20.7997, 11.7150, 11.9902)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A5F #2AB07B
analogous
#B02AA2 #B02A5F #B0382A
triadic
#B02A5F #5FB02A #2A5FB0
tetradic
#B02A5F #A2B02A #2AB07B #382AB0
square
#B02A5F #A2B02A #2AB07B #382AB0
split-complementary
#B02A5F #2AB038 #2AA2B0
monochromatic
#4D122A #7F1E44 #B02A5F #D3457D #DE769F

Accessibility & contrast

On white

6.28
#B02A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B02A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A5F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A5F#FFFFFF#000000##FFFFFF
##B02A5F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495060
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BF0E41
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02a5f;
/* rgb */ color: rgb(176, 42, 95);
/* oklch */ color: oklch(51.2% 0.174 1.9);
Tailwind
colors: {
  custom: {
    50: '#cd708c',
    500: '#b02a5f',
    950: '#000000',
  },
}
SCSS
$custom: #b02a5f;
$custom-light: #cd708c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a5f",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 336.269,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.17386,
    "h": 1.9
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#B02A5F
secondary
#70C6A4
accent
#E5A543
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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