#B1237E#B1237E

#B1237E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.195 H 347.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B1237E
RGBrgb(177, 35, 126)
HSLhsl(322, 67%, 42%)
HSVhsv(322, 80%, 69%)
CMYKcmyk(0%, 80.2%, 28.8%, 30.6%)
CIE-LABlab(41.31, 62.28, -16.52)
CIE-LCHlch(41.31, 64.44, 345.14°)
OKLaboklab(51.99% 0.1899 -0.0437)
OKLCHoklch(51.99% 0.195 347)
XYZxyz(22.4995, 12.0581, 20.8772)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1237E #23B156
analogous
#9D23B1 #B1237E #B12337
triadic
#B1237E #7EB123 #237EB1
tetradic
#B1237E #B19D23 #23B156 #2337B1
square
#B1237E #B19D23 #23B156 #2337B1
split-complementary
#B1237E #37B123 #23B19D
monochromatic
#4B0F35 #7E195A #B1237E #D8399F #E26CB8

Accessibility & contrast

On white

6.16
#B1237E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B1237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1237E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1237E#FFFFFF#000000##FFFFFF
##B1237E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#BE1D4E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1237e;
/* rgb */ color: rgb(177, 35, 126);
/* oklch */ color: oklch(52.0% 0.195 347.0);
Tailwind
colors: {
  custom: {
    50: '#cd6fa3',
    500: '#b1237e',
    950: '#000000',
  },
}
SCSS
$custom: #b1237e;
$custom-light: #cd6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1237e",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 321.549,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.19485,
    "h": 347
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#B1237E
secondary
#68C88A
accent
#EA7C3E
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B1237E

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

Preview Lab → · Contrast checker → · Palette generator →

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