#B02A4E#B02A4E

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

Color values

HEX#B02A4E
RGBrgb(176, 42, 78)
HSLhsl(344, 61%, 43%)
HSVhsv(344, 76%, 69%)
CMYKcmyk(0%, 76.1%, 55.7%, 31%)
CIE-LABlab(40.31, 55.22, 12.10)
CIE-LCHlch(40.31, 56.53, 12.36°)
OKLaboklab(50.72% 0.1674 0.0305)
OKLCHoklch(50.72% 0.17 10.3)
XYZxyz(20.1095, 11.4390, 8.3553)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02A4E #2AB08C
analogous
#B02A91 #B02A4E #B0492A
triadic
#B02A4E #4EB02A #2A4EB0
tetradic
#B02A4E #91B02A #2AB08C #492AB0
square
#B02A4E #91B02A #2AB08C #492AB0
split-complementary
#B02A4E #2AB049 #2A91B0
monochromatic
#4D1222 #7F1E38 #B02A4E #D3456B #DE7692

Accessibility & contrast

On white

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

On black

3.29
#B02A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B02A4E#FFFFFF#000000##FFFFFF
##B02A4E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02a4e;
/* rgb */ color: rgb(176, 42, 78);
/* oklch */ color: oklch(50.7% 0.170 10.3);
Tailwind
colors: {
  custom: {
    50: '#ce707f',
    500: '#b02a4e',
    950: '#000000',
  },
}
SCSS
$custom: #b02a4e;
$custom-light: #ce707f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02a4e",
  "rgb": {
    "r": 176,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 343.881,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50724,
    "c": 0.17019,
    "h": 10.3
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#B02A4E
secondary
#70C6AF
accent
#E5B943
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B02A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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