#5F0C25#5F0C25

#5F0C25 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.115 H 10.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5F0C25
RGBrgb(95, 12, 37)
HSLhsl(342, 78%, 21%)
HSVhsv(342, 87%, 37%)
CMYKcmyk(0%, 87.4%, 61.1%, 62.7%)
CIE-LABlab(19.35, 37.26, 7.98)
CIE-LCHlch(19.35, 38.10, 12.08°)
OKLaboklab(31.95% 0.113 0.02)
OKLCHoklch(31.95% 0.115 10)
XYZxyz(5.1852, 2.8302, 2.0232)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C25 #0C5F46
analogous
#5F0C4E #5F0C25 #5F1C0C
triadic
#5F0C25 #255F0C #0C255F
tetradic
#5F0C25 #4E5F0C #0C5F46 #1C0C5F
square
#5F0C25 #4E5F0C #0C5F46 #1C0C5F
split-complementary
#5F0C25 #0C5F1C #0C4E5F
monochromatic
#1B030B #290510 #5F0C25 #95133A #CC1A4F

Accessibility & contrast

On white

13.41
#5F0C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C25
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C25#FFFFFF#000000##FFFFFF
##5F0C251.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242425
Deuteranopia (green-blind)
#393523
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c25;
/* rgb */ color: rgb(95, 12, 37);
/* oklch */ color: oklch(32.0% 0.115 10.0);
Tailwind
colors: {
  custom: {
    50: '#92565f',
    500: '#5f0c25',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c25;
$custom-light: #92565f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c25",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 341.928,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31952,
    "c": 0.1148,
    "h": 10
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#5F0C25
secondary
#2D9979
accent
#F4BA34
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0C25

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

Preview Lab → · Contrast checker → · Palette generator →

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