#B12F4E#B12F4E

#B12F4E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 11.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#B12F4E
RGBrgb(177, 47, 78)
HSLhsl(346, 58%, 44%)
HSVhsv(346, 73%, 69%)
CMYKcmyk(0%, 73.4%, 55.9%, 30.6%)
CIE-LABlab(41.11, 53.81, 13.23)
CIE-LCHlch(41.11, 55.41, 13.81°)
OKLaboklab(51.35% 0.1628 0.0332)
OKLCHoklch(51.35% 0.166 11.5)
XYZxyz(20.5251, 11.9331, 8.4288)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F4E #2FB192
analogous
#B12F8F #B12F4E #B1512F
triadic
#B12F4E #4EB12F #2F4EB1
tetradic
#B12F4E #8FB12F #2FB192 #512FB1
square
#B12F4E #8FB12F #2FB192 #512FB1
split-complementary
#B12F4E #2FB151 #2F8FB1
monochromatic
#501523 #812239 #B12F4E #D04D6C #DD7E94

Accessibility & contrast

On white

6.20
#B12F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#B12F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F4E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F4E#FFFFFF#000000##FFFFFF
##B12F4E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504E
Deuteranopia (green-blind)
#726B4B
Tritanopia (blue-blind)
#C10B3C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b12f4e;
/* rgb */ color: rgb(177, 47, 78);
/* oklch */ color: oklch(51.3% 0.166 11.5);
Tailwind
colors: {
  custom: {
    50: '#cf727f',
    500: '#b12f4e',
    950: '#000000',
  },
}
SCSS
$custom: #b12f4e;
$custom-light: #cf727f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f4e",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 345.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.16615,
    "h": 11.5
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#B12F4E
secondary
#76C5B3
accent
#E1BC47
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B12F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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