#331027#331027

#331027 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.065 H 343.0°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#331027
RGBrgb(51, 16, 39)
HSLhsl(321, 52%, 13%)
HSVhsv(321, 69%, 20%)
CMYKcmyk(0%, 68.6%, 23.5%, 80%)
CIE-LABlab(10.71, 20.96, -7.18)
CIE-LCHlch(10.71, 22.16, 341.08°)
OKLaboklab(23.88% 0.0625 -0.0191)
OKLCHoklch(23.88% 0.065 343)
XYZxyz(1.9168, 1.2210, 2.0538)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331027 #10331C
analogous
#2D1033 #331027 #331015
triadic
#331027 #273310 #102733
tetradic
#331027 #332D10 #10331C #101533
square
#331027 #332D10 #10331C #101533
split-complementary
#331027 #153310 #10332D
monochromatic
#170712 #170712 #331027 #621F4B #902D6E

Accessibility & contrast

On white

16.88
#331027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#331027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331027
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331027#FFFFFF#000000##FFFFFF
##3310271.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131928
Deuteranopia (green-blind)
#1D1F26
Tritanopia (blue-blind)
#361019
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331027;
/* rgb */ color: rgb(51, 16, 39);
/* oklch */ color: oklch(23.9% 0.065 343.0);
Tailwind
colors: {
  custom: {
    50: '#6c5061',
    500: '#331027',
    950: '#000000',
  },
}
SCSS
$custom: #331027;
$custom-light: #6c5061;
$custom-dark: #000000;
JSON
{
  "hex": "#331027",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 320.571,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23882,
    "c": 0.06541,
    "h": 343
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#331027
secondary
#326C46
accent
#DC7D4C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #331027

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

Preview Lab → · Contrast checker → · Palette generator →

#331027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva