#B12D4E#B12D4E

#B12D4E is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.168 H 11.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B12D4E
RGBrgb(177, 45, 78)
HSLhsl(345, 59%, 44%)
HSVhsv(345, 75%, 69%)
CMYKcmyk(0%, 74.6%, 55.9%, 30.6%)
CIE-LABlab(40.86, 54.51, 12.88)
CIE-LCHlch(40.86, 56.01, 13.30°)
OKLaboklab(51.17% 0.165 0.0324)
OKLCHoklch(51.17% 0.168 11.1)
XYZxyz(20.4469, 11.7768, 8.4027)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12D4E #2DB190
analogous
#B12D90 #B12D4E #B14E2D
triadic
#B12D4E #4EB12D #2D4EB1
tetradic
#B12D4E #90B12D #2DB190 #4E2DB1
square
#B12D4E #90B12D #2DB190 #4E2DB1
split-complementary
#B12D4E #2DB14E #2D90B1
monochromatic
#4F1423 #802138 #B12D4E #D14A6C #DD7B94

Accessibility & contrast

On white

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

On black

3.35
#B12D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12D4E#FFFFFF#000000##FFFFFF
##B12D4E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4E
Deuteranopia (green-blind)
#726A4B
Tritanopia (blue-blind)
#C1043B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12d4e;
/* rgb */ color: rgb(177, 45, 78);
/* oklch */ color: oklch(51.2% 0.168 11.1);
Tailwind
colors: {
  custom: {
    50: '#cf717f',
    500: '#b12d4e',
    950: '#000000',
  },
}
SCSS
$custom: #b12d4e;
$custom-light: #cf717f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12d4e",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 345,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.16819,
    "h": 11.1
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#B12D4E
secondary
#74C6B1
accent
#E3BB45
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B12D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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