#B1237C#B1237C

#B1237C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.194 H 347.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B1237C
RGBrgb(177, 35, 124)
HSLhsl(322, 67%, 42%)
HSVhsv(322, 80%, 69%)
CMYKcmyk(0%, 80.2%, 29.9%, 30.6%)
CIE-LABlab(41.23, 62.05, -15.41)
CIE-LCHlch(41.23, 63.93, 346.05°)
OKLaboklab(51.91% 0.1895 -0.0406)
OKLCHoklch(51.91% 0.194 347.9)
XYZxyz(22.3718, 12.0070, 20.2043)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1237C #23B158
analogous
#9F23B1 #B1237C #B12335
triadic
#B1237C #7CB123 #237CB1
tetradic
#B1237C #B19F23 #23B158 #2335B1
square
#B1237C #B19F23 #23B158 #2335B1
split-complementary
#B1237C #35B123 #23B19F
monochromatic
#4B0F34 #7E1958 #B1237C #D8399D #E26CB6

Accessibility & contrast

On white

6.18
#B1237C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B1237C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1237C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1237C#FFFFFF#000000##FFFFFF
##B1237C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#BE1B4D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1237c;
/* rgb */ color: rgb(177, 35, 124);
/* oklch */ color: oklch(51.9% 0.194 347.9);
Tailwind
colors: {
  custom: {
    50: '#cd6fa2',
    500: '#b1237c',
    950: '#000000',
  },
}
SCSS
$custom: #b1237c;
$custom-light: #cd6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1237c",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 322.394,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.19377,
    "h": 347.9
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#B1237C
secondary
#68C88C
accent
#EA7E3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080F
muted
#837B7E

Preview Lab

Preview with #B1237C

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

Preview Lab → · Contrast checker → · Palette generator →

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