#B42F90#B42F90

#B42F90 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.195 H 341.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B42F90
RGBrgb(180, 47, 144)
HSLhsl(316, 59%, 45%)
HSVhsv(316, 74%, 71%)
CMYKcmyk(0%, 73.9%, 20%, 29.4%)
CIE-LABlab(43.88, 61.73, -23.53)
CIE-LCHlch(43.88, 66.07, 339.13°)
OKLaboklab(54.2% 0.1848 -0.0633)
OKLCHoklch(54.2% 0.195 341.1)
XYZxyz(24.8737, 13.7524, 27.7247)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F90 #2FB453
analogous
#962FB4 #B42F90 #B42F4D
triadic
#B42F90 #90B42F #2F90B4
tetradic
#B42F90 #B4962F #2FB453 #2F4DB4
square
#B42F90 #B4962F #2FB453 #2F4DB4
split-complementary
#B42F90 #4DB42F #2FB496
monochromatic
#531642 #832269 #B42F90 #D14FAE #DE80C4

Accessibility & contrast

On white

5.60
#B42F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B42F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F90
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F90#FFFFFF#000000##FFFFFF
##B42F901.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#BF325C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42f90;
/* rgb */ color: rgb(180, 47, 144);
/* oklch */ color: oklch(54.2% 0.195 341.1);
Tailwind
colors: {
  custom: {
    50: '#ce74b0',
    500: '#b42f90',
    950: '#000000',
  },
}
SCSS
$custom: #b42f90;
$custom-light: #ce74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f90",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 316.241,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.19533,
    "h": 341.1
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#B42F90
secondary
#78C78D
accent
#E27046
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B42F90

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

Preview Lab → · Contrast checker → · Palette generator →

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