#5A0F2E#5A0F2E

#5A0F2E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.109 H 1.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#5A0F2E
RGBrgb(90, 15, 46)
HSLhsl(335, 71%, 21%)
HSVhsv(335, 83%, 35%)
CMYKcmyk(0%, 83.3%, 48.9%, 64.7%)
CIE-LABlab(18.86, 35.60, 0.71)
CIE-LCHlch(18.86, 35.61, 1.14°)
OKLaboklab(31.48% 0.1093 0.0022)
OKLCHoklch(31.48% 0.109 1.2)
XYZxyz(4.8808, 2.7132, 2.8509)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F2E #0F5A3B
analogous
#5A0F53 #5A0F2E #5A150F
triadic
#5A0F2E #2E5A0F #0F2E5A
tetradic
#5A0F2E #535A0F #0F5A3B #150F5A
square
#5A0F2E #535A0F #0F5A3B #150F5A
split-complementary
#5A0F2E #0F5A15 #0F535A
monochromatic
#1A040D #260613 #5A0F2E #8E1849 #C32064

Accessibility & contrast

On white

13.61
#5A0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A0F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F2E
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F2E#FFFFFF#000000##FFFFFF
##5A0F2E1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#35332C
Tritanopia (blue-blind)
#62021D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a0f2e;
/* rgb */ color: rgb(90, 15, 46);
/* oklch */ color: oklch(31.5% 0.109 1.2);
Tailwind
colors: {
  custom: {
    50: '#8d5666',
    500: '#5a0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f2e;
$custom-light: #8d5666;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f2e",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 335.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.10932,
    "h": 1.2
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#5A0F2E
secondary
#31946B
accent
#EEA43A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5A0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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