#B12975#B12975

#B12975 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.184 H 351.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B12975
RGBrgb(177, 41, 117)
HSLhsl(326, 62%, 43%)
HSVhsv(326, 77%, 69%)
CMYKcmyk(0%, 76.8%, 33.9%, 30.6%)
CIE-LABlab(41.56, 59.51, -10.56)
CIE-LCHlch(41.56, 60.44, 349.94°)
OKLaboklab(52.06% 0.1824 -0.0273)
OKLCHoklch(52.06% 0.184 351.5)
XYZxyz(22.1366, 12.2200, 18.0191)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12975 #29B165
analogous
#A929B1 #B12975 #B12931
triadic
#B12975 #75B129 #2975B1
tetradic
#B12975 #B1A929 #29B165 #2931B1
square
#B12975 #B1A929 #29B165 #2931B1
split-complementary
#B12975 #31B129 #29B1A9
monochromatic
#4E1233 #7F1D54 #B12975 #D44494 #DF75B0

Accessibility & contrast

On white

6.10
#B12975 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12975 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12975
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12975#FFFFFF#000000##FFFFFF
##B129751.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425277
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#BF1D4C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12975;
/* rgb */ color: rgb(177, 41, 117);
/* oklch */ color: oklch(52.1% 0.184 351.5);
Tailwind
colors: {
  custom: {
    50: '#cd719c',
    500: '#b12975',
    950: '#000000',
  },
}
SCSS
$custom: #b12975;
$custom-light: #cd719c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12975",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 117
  },
  "hsl": {
    "h": 326.471,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.18441,
    "h": 351.5
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#B12975
secondary
#6FC796
accent
#E58A42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B12975

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

Preview Lab → · Contrast checker → · Palette generator →

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