#B12252#B12252

#B12252 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 7.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B12252
RGBrgb(177, 34, 82)
HSLhsl(340, 68%, 41%)
HSVhsv(340, 81%, 69%)
CMYKcmyk(0%, 80.8%, 53.7%, 30.6%)
CIE-LABlab(39.75, 58.20, 8.82)
CIE-LCHlch(39.75, 58.87, 8.61°)
OKLaboklab(50.38% 0.1775 0.0227)
OKLCHoklch(50.38% 0.179 7.3)
XYZxyz(20.2284, 11.1033, 9.0590)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12252 #22B181
analogous
#B1229A #B12252 #B13922
triadic
#B12252 #52B122 #2252B1
tetradic
#B12252 #9AB122 #22B181 #3922B1
square
#B12252 #9AB122 #22B181 #3922B1
split-complementary
#B12252 #22B139 #229AB1
monochromatic
#4A0E22 #7E183A #B12252 #D9386E #E36B93

Accessibility & contrast

On white

6.52
#B12252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B12252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12252
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12252#FFFFFF#000000##FFFFFF
##B122521.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#C10037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12252;
/* rgb */ color: rgb(177, 34, 82);
/* oklch */ color: oklch(50.4% 0.179 7.3);
Tailwind
colors: {
  custom: {
    50: '#cf6d82',
    500: '#b12252',
    950: '#000000',
  },
}
SCSS
$custom: #b12252;
$custom-light: #cf6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#b12252",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 339.86,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.17895,
    "h": 7.3
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#B12252
secondary
#66C9A8
accent
#EBB03D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12252

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

Preview Lab → · Contrast checker → · Palette generator →

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