#5F273E#5F273E

#5F273E is a dark, moderate pink. Relative luminance 0.042; OKLCH L 36.0% C 0.086 H 356.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#5F273E
RGBrgb(95, 39, 62)
HSLhsl(335, 42%, 26%)
HSVhsv(335, 59%, 37%)
CMYKcmyk(0%, 58.9%, 34.7%, 62.7%)
CIE-LABlab(24.43, 28.26, -2.12)
CIE-LCHlch(24.43, 28.34, 355.72°)
OKLaboklab(35.97% 0.0859 -0.0052)
OKLCHoklch(35.97% 0.086 356.5)
XYZxyz(6.3146, 4.2324, 5.0409)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F273E #275F48
analogous
#5F275A #5F273E #5F2C27
triadic
#5F273E #3E5F27 #273E5F
tetradic
#5F273E #5A5F27 #275F48 #2C275F
square
#5F273E #5A5F27 #275F48 #2C275F
split-complementary
#5F273E #275F2C #275A5F
monochromatic
#16090E #341522 #5F273E #8A395A #B54B77

Accessibility & contrast

On white

11.37
#5F273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5F273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F273E
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F273E#FFFFFF#000000##FFFFFF
##5F273E1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F343F
Deuteranopia (green-blind)
#3E3E3D
Tritanopia (blue-blind)
#662330
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5f273e;
/* rgb */ color: rgb(95, 39, 62);
/* oklch */ color: oklch(36.0% 0.086 356.5);
Tailwind
colors: {
  custom: {
    50: '#8f6473',
    500: '#5f273e',
    950: '#000000',
  },
}
SCSS
$custom: #5f273e;
$custom-light: #8f6473;
$custom-dark: #000000;
JSON
{
  "hex": "#5f273e",
  "rgb": {
    "r": 95,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 335.357,
    "s": 41.791,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.08608,
    "h": 356.5
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#5F273E
secondary
#509277
accent
#D29F56
background
#F9F6F6
surface
#F1EBEC
border
#CBC6C7
text
#0D0508
muted
#7E7A7B

Preview Lab

Preview with #5F273E

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

Preview Lab → · Contrast checker → · Palette generator →

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