#B12255#B12255

#B12255 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.180 H 5.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B12255
RGBrgb(177, 34, 85)
HSLhsl(339, 68%, 41%)
HSVhsv(339, 81%, 69%)
CMYKcmyk(0%, 80.8%, 52%, 30.6%)
CIE-LABlab(39.83, 58.44, 7.02)
CIE-LCHlch(39.83, 58.86, 6.85°)
OKLaboklab(50.46% 0.1786 0.0183)
OKLCHoklch(50.46% 0.18 5.8)
XYZxyz(20.3451, 11.1499, 9.6734)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12255 #22B17E
analogous
#B1229D #B12255 #B13622
triadic
#B12255 #55B122 #2255B1
tetradic
#B12255 #9DB122 #22B17E #3622B1
square
#B12255 #9DB122 #22B17E #3622B1
split-complementary
#B12255 #22B136 #229DB1
monochromatic
#4A0E24 #7E183C #B12255 #D93871 #E36B96

Accessibility & contrast

On white

6.50
#B12255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B12255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12255
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12255#FFFFFF#000000##FFFFFF
##B122551.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C56
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#C10039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12255;
/* rgb */ color: rgb(177, 34, 85);
/* oklch */ color: oklch(50.5% 0.180 5.8);
Tailwind
colors: {
  custom: {
    50: '#cf6d84',
    500: '#b12255',
    950: '#000000',
  },
}
SCSS
$custom: #b12255;
$custom-light: #cf6d84;
$custom-dark: #000000;
JSON
{
  "hex": "#b12255",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 338.601,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.17956,
    "h": 5.8
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

primary
#B12255
secondary
#66C9A5
accent
#EBAD3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12255

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

Preview Lab → · Contrast checker → · Palette generator →

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