#B12470#B12470

#B12470 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.187 H 353.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B12470
RGBrgb(177, 36, 112)
HSLhsl(328, 66%, 42%)
HSVhsv(328, 80%, 69%)
CMYKcmyk(0%, 79.7%, 36.7%, 30.6%)
CIE-LABlab(40.87, 60.42, -8.49)
CIE-LCHlch(40.87, 61.02, 352.00°)
OKLaboklab(51.5% 0.1857 -0.0217)
OKLCHoklch(51.5% 0.187 353.3)
XYZxyz(21.6884, 11.7814, 16.4580)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12470 #24B165
analogous
#AC24B1 #B12470 #B12429
triadic
#B12470 #70B124 #2470B1
tetradic
#B12470 #B1AC24 #24B165 #2429B1
square
#B12470 #B1AC24 #24B165 #2429B1
split-complementary
#B12470 #29B124 #24B1AC
monochromatic
#4B0F30 #7E1A50 #B12470 #D73B8F #E16EAC

Accessibility & contrast

On white

6.26
#B12470 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12470 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12470
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12470#FFFFFF#000000##FFFFFF
##B124701.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415072
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#BF1247
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12470;
/* rgb */ color: rgb(177, 36, 112);
/* oklch */ color: oklch(51.5% 0.187 353.3);
Tailwind
colors: {
  custom: {
    50: '#cd6f99',
    500: '#b12470',
    950: '#000000',
  },
}
SCSS
$custom: #b12470;
$custom-light: #cd6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#b12470",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 327.66,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.18695,
    "h": 353.3
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#B12470
secondary
#69C895
accent
#E98D3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B12470

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

Preview Lab → · Contrast checker → · Palette generator →

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