#B1237F#B1237F

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

Color values

HEX#B1237F
RGBrgb(177, 35, 127)
HSLhsl(321, 67%, 42%)
HSVhsv(321, 80%, 69%)
CMYKcmyk(0%, 80.2%, 28.2%, 30.6%)
CIE-LABlab(41.35, 62.40, -17.07)
CIE-LCHlch(41.35, 64.70, 344.70°)
OKLaboklab(52.04% 0.1901 -0.0452)
OKLCHoklch(52.04% 0.195 346.6)
XYZxyz(22.5644, 12.0841, 21.2187)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1237F #23B155
analogous
#9C23B1 #B1237F #B12338
triadic
#B1237F #7FB123 #237FB1
tetradic
#B1237F #B19C23 #23B155 #2338B1
square
#B1237F #B19C23 #23B155 #2338B1
split-complementary
#B1237F #38B123 #23B19C
monochromatic
#4B0F36 #7E195A #B1237F #D839A0 #E26CB9

Accessibility & contrast

On white

6.15
#B1237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B1237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1237F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1237F#FFFFFF#000000##FFFFFF
##B1237F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#BE1D4F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b1237f;
/* rgb */ color: rgb(177, 35, 127);
/* oklch */ color: oklch(52.0% 0.195 346.6);
Tailwind
colors: {
  custom: {
    50: '#cd6fa4',
    500: '#b1237f',
    950: '#000000',
  },
}
SCSS
$custom: #b1237f;
$custom-light: #cd6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1237f",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 321.127,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.19539,
    "h": 346.6
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#B1237F
secondary
#68C88A
accent
#EA7A3E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B1237F

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

Preview Lab → · Contrast checker → · Palette generator →

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