#B02A4D#B02A4D

#B02A4D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 10.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B02A4D
RGBrgb(176, 42, 77)
HSLhsl(344, 61%, 43%)
HSVhsv(344, 76%, 69%)
CMYKcmyk(0%, 76.1%, 56.2%, 31%)
CIE-LABlab(40.29, 55.15, 12.70)
CIE-LCHlch(40.29, 56.59, 12.97°)
OKLaboklab(50.7% 0.167 0.0319)
OKLCHoklch(50.7% 0.17 10.8)
XYZxyz(20.0739, 11.4247, 8.1679)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A4D #2AB08D
analogous
#B02A90 #B02A4D #B04A2A
triadic
#B02A4D #4DB02A #2A4DB0
tetradic
#B02A4D #90B02A #2AB08D #4A2AB0
square
#B02A4D #90B02A #2AB08D #4A2AB0
split-complementary
#B02A4D #2AB04A #2A90B0
monochromatic
#4D1222 #7F1E37 #B02A4D #D3456A #DE7691

Accessibility & contrast

On white

6.39
#B02A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B02A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02A4D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02A4D#FFFFFF#000000##FFFFFF
##B02A4D1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#C00039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02a4d;
/* rgb */ color: rgb(176, 42, 77);
/* oklch */ color: oklch(50.7% 0.170 10.8);
Tailwind
colors: {
  custom: {
    50: '#ce707e',
    500: '#b02a4d',
    950: '#000000',
  },
}
SCSS
$custom: #b02a4d;
$custom-light: #ce707e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a4d",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 344.328,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.17007,
    "h": 10.8
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#B02A4D
secondary
#70C6AF
accent
#E5BA43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B02A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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