#B42A66#B42A66

#B42A66 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.179 H 359.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B42A66
RGBrgb(180, 42, 102)
HSLhsl(334, 62%, 44%)
HSVhsv(334, 77%, 71%)
CMYKcmyk(0%, 76.7%, 43.3%, 29.4%)
CIE-LABlab(41.72, 58.43, -0.90)
CIE-LCHlch(41.72, 58.43, 359.11°)
OKLaboklab(52.12% 0.1795 -0.0017)
OKLCHoklch(52.12% 0.179 359.5)
XYZxyz(22.0503, 12.3214, 13.7849)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A66 #2AB478
analogous
#B42AAB #B42A66 #B4332A
triadic
#B42A66 #66B42A #2A66B4
tetradic
#B42A66 #ABB42A #2AB478 #332AB4
square
#B42A66 #ABB42A #2AB478 #332AB4
split-complementary
#B42A66 #2AB433 #2AABB4
monochromatic
#51132E #821E4A #B42A66 #D44784 #E079A5

Accessibility & contrast

On white

6.06
#B42A66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B42A66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A66
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A66#FFFFFF#000000##FFFFFF
##B42A661.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495267
Deuteranopia (green-blind)
#6E6C63
Tritanopia (blue-blind)
#C31044
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b42a66;
/* rgb */ color: rgb(180, 42, 102);
/* oklch */ color: oklch(52.1% 0.179 359.5);
Tailwind
colors: {
  custom: {
    50: '#d07191',
    500: '#b42a66',
    950: '#000000',
  },
}
SCSS
$custom: #b42a66;
$custom-light: #d07191;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a66",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 333.913,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.17949,
    "h": 359.5
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#B42A66
secondary
#72C8A2
accent
#E59F43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42A66

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

Preview Lab → · Contrast checker → · Palette generator →

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