#5F1230#5F1230

#5F1230 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.111 H 2.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5F1230
RGBrgb(95, 18, 48)
HSLhsl(337, 68%, 22%)
HSVhsv(337, 81%, 37%)
CMYKcmyk(0%, 81.1%, 49.5%, 62.7%)
CIE-LABlab(20.36, 36.31, 1.61)
CIE-LCHlch(20.36, 36.35, 2.53°)
OKLaboklab(32.8% 0.1113 0.0045)
OKLCHoklch(32.8% 0.111 2.3)
XYZxyz(5.4696, 3.0796, 3.1021)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1230 #125F41
analogous
#5F1257 #5F1230 #5F1A12
triadic
#5F1230 #305F12 #12305F
tetradic
#5F1230 #575F12 #125F41 #1A125F
square
#5F1230 #575F12 #125F41 #1A125F
split-complementary
#5F1230 #125F1A #12575F
monochromatic
#1A050D #2C0816 #5F1230 #921C4A #C62564

Accessibility & contrast

On white

13.00
#5F1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1230
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1230#FFFFFF#000000##FFFFFF
##5F12301.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242831
Deuteranopia (green-blind)
#39362E
Tritanopia (blue-blind)
#68031F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1230;
/* rgb */ color: rgb(95, 18, 48);
/* oklch */ color: oklch(32.8% 0.111 2.3);
Tailwind
colors: {
  custom: {
    50: '#915868',
    500: '#5f1230',
    950: '#000000',
  },
}
SCSS
$custom: #5f1230;
$custom-light: #915868;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1230",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 336.623,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.328,
    "c": 0.11143,
    "h": 2.3
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#5F1230
secondary
#369771
accent
#EBA73D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1230

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

Preview Lab → · Contrast checker → · Palette generator →

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