#B02A5E#B02A5E

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

Color values

HEX#B02A5E
RGBrgb(176, 42, 94)
HSLhsl(337, 61%, 43%)
HSVhsv(337, 76%, 69%)
CMYKcmyk(0%, 76.1%, 46.6%, 31%)
CIE-LABlab(40.73, 56.56, 2.59)
CIE-LCHlch(40.73, 56.62, 2.62°)
OKLaboklab(51.17% 0.1734 0.0073)
OKLCHoklch(51.17% 0.174 2.4)
XYZxyz(20.7545, 11.6970, 11.7523)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A5E #2AB07C
analogous
#B02AA1 #B02A5E #B0392A
triadic
#B02A5E #5EB02A #2A5EB0
tetradic
#B02A5E #A1B02A #2AB07C #392AB0
square
#B02A5E #A1B02A #2AB07C #392AB0
split-complementary
#B02A5E #2AB039 #2AA1B0
monochromatic
#4D1229 #7F1E44 #B02A5E #D3457C #DE769F

Accessibility & contrast

On white

6.29
#B02A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02A5E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A5E#FFFFFF#000000##FFFFFF
##B02A5E1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BF0D41
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02a5e;
/* rgb */ color: rgb(176, 42, 94);
/* oklch */ color: oklch(51.2% 0.174 2.4);
Tailwind
colors: {
  custom: {
    50: '#cd708b',
    500: '#b02a5e',
    950: '#000000',
  },
}
SCSS
$custom: #b02a5e;
$custom-light: #cd708b;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a5e",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 336.716,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.17356,
    "h": 2.4
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#B02A5E
secondary
#70C6A5
accent
#E5A643
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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