#8F1B45#8F1B45

#8F1B45 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.153 H 5.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8F1B45
RGBrgb(143, 27, 69)
HSLhsl(338, 68%, 33%)
HSVhsv(338, 81%, 56%)
CMYKcmyk(0%, 81.1%, 51.7%, 43.9%)
CIE-LABlab(31.93, 49.65, 5.22)
CIE-LCHlch(31.93, 49.92, 6.00°)
OKLaboklab(43.3% 0.1519 0.0137)
OKLCHoklch(43.3% 0.153 5.2)
XYZxyz(12.7950, 7.0550, 6.3171)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B45 #1B8F65
analogous
#8F1B7F #8F1B45 #8F2B1B
triadic
#8F1B45 #458F1B #1B458F
tetradic
#8F1B45 #7F8F1B #1B8F65 #2B1B8F
square
#8F1B45 #7F8F1B #1B8F65 #2B1B8F
split-complementary
#8F1B45 #1B8F2B #1B7F8F
monochromatic
#280813 #5C112C #8F1B45 #C2255E #DC487E

Accessibility & contrast

On white

8.71
#8F1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8F1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B45
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B45#FFFFFF#000000##FFFFFF
##8F1B451.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D46
Deuteranopia (green-blind)
#585342
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1b45;
/* rgb */ color: rgb(143, 27, 69);
/* oklch */ color: oklch(43.3% 0.153 5.2);
Tailwind
colors: {
  custom: {
    50: '#b66578',
    500: '#8f1b45',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b45;
$custom-light: #b66578;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b45",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 338.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43304,
    "c": 0.15251,
    "h": 5.2
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#8F1B45
secondary
#48BE93
accent
#EBAC3D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1B45

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

Preview Lab → · Contrast checker → · Palette generator →

#8F1B45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva