#5F1243#5F1243

#5F1243 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.121 H 346.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5F1243
RGBrgb(95, 18, 67)
HSLhsl(322, 68%, 22%)
HSVhsv(322, 81%, 37%)
CMYKcmyk(0%, 81.1%, 29.5%, 62.7%)
CIE-LABlab(21.10, 38.61, -10.53)
CIE-LCHlch(21.10, 40.02, 344.74°)
OKLaboklab(33.58% 0.1174 -0.0279)
OKLCHoklch(33.58% 0.121 346.6)
XYZxyz(5.9490, 3.2714, 5.6273)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1243 #125F2E
analogous
#55125F #5F1243 #5F121D
triadic
#5F1243 #435F12 #12435F
tetradic
#5F1243 #5F5512 #125F2E #121D5F
square
#5F1243 #5F5512 #125F2E #121D5F
split-complementary
#5F1243 #1D5F12 #125F55
monochromatic
#1A0512 #2C081F #5F1243 #921C67 #C6258C

Accessibility & contrast

On white

12.69
#5F1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1243
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1243#FFFFFF#000000##FFFFFF
##5F12431.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A44
Deuteranopia (green-blind)
#343741
Tritanopia (blue-blind)
#660F29
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1243;
/* rgb */ color: rgb(95, 18, 67);
/* oklch */ color: oklch(33.6% 0.121 346.6);
Tailwind
colors: {
  custom: {
    50: '#905977',
    500: '#5f1243',
    950: '#000000',
  },
}
SCSS
$custom: #5f1243;
$custom-light: #905977;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1243",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 321.818,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.12068,
    "h": 346.6
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#5F1243
secondary
#369759
accent
#EB7C3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1243

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

Preview Lab → · Contrast checker → · Palette generator →

#5F1243 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva