#310429#310429

#310429 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.087 H 336.4°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#310429
RGBrgb(49, 4, 41)
HSLhsl(311, 85%, 10%)
HSVhsv(311, 92%, 19%)
CMYKcmyk(0%, 91.8%, 16.3%, 80.8%)
CIE-LABlab(8.13, 27.02, -12.71)
CIE-LCHlch(8.13, 29.86, 334.80°)
OKLaboklab(21.96% 0.0795 -0.0347)
OKLCHoklch(21.96% 0.087 336.4)
XYZxyz(1.7103, 0.9001, 2.1810)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310429 #04310C
analogous
#220431 #310429 #310412
triadic
#310429 #293104 #042931
tetradic
#310429 #312204 #04310C #041231
square
#310429 #312204 #04310C #041231
split-complementary
#310429 #123104 #043122
monochromatic
#1C0218 #1C0218 #310429 #6A0958 #A20D88

Accessibility & contrast

On white

17.80
#310429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310429 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310429
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310429#FFFFFF#000000##FFFFFF
##3104291.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05132A
Deuteranopia (green-blind)
#151A28
Tritanopia (blue-blind)
#340715
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310429;
/* rgb */ color: rgb(49, 4, 41);
/* oklch */ color: oklch(22.0% 0.087 336.4);
Tailwind
colors: {
  custom: {
    50: '#6b4962',
    500: '#310429',
    950: '#000000',
  },
}
SCSS
$custom: #310429;
$custom-light: #6b4962;
$custom-dark: #000000;
JSON
{
  "hex": "#310429",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 41
  },
  "hsl": {
    "h": 310.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21956,
    "c": 0.08674,
    "h": 336.4
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#310429
secondary
#1D732D
accent
#FB512D
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #310429

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

Preview Lab → · Contrast checker → · Palette generator →

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