#310310#310310

#310310 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.6% C 0.075 H 9.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#310310
RGBrgb(49, 3, 16)
HSLhsl(343, 88%, 10%)
HSVhsv(343, 94%, 19%)
CMYKcmyk(0%, 93.9%, 67.3%, 80.8%)
CIE-LABlab(6.83, 23.97, 3.72)
CIE-LCHlch(6.83, 24.25, 8.83°)
OKLaboklab(20.59% 0.0737 0.0118)
OKLCHoklch(20.59% 0.075 9.1)
XYZxyz(1.3928, 0.7557, 0.5626)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310310 #033124
analogous
#310327 #310310 #310D03
triadic
#310310 #103103 #031031
tetradic
#310310 #273103 #033124 #0D0331
square
#310310 #273103 #033124 #0D0331
split-complementary
#310310 #03310D #032731
monochromatic
#1D0209 #1D0209 #310310 #6B0723 #A40A36

Accessibility & contrast

On white

18.24
#310310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310310
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310310#FFFFFF#000000##FFFFFF
##3103101.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F10
Deuteranopia (green-blind)
#1B190F
Tritanopia (blue-blind)
#370008
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310310;
/* rgb */ color: rgb(49, 3, 16);
/* oklch */ color: oklch(20.6% 0.075 9.1);
Tailwind
colors: {
  custom: {
    50: '#6d484e',
    500: '#310310',
    950: '#000000',
  },
}
SCSS
$custom: #310310;
$custom-light: #6d484e;
$custom-dark: #000000;
JSON
{
  "hex": "#310310",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 16
  },
  "hsl": {
    "h": 343.043,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20587,
    "c": 0.07461,
    "h": 9.1
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#310310
secondary
#1B745B
accent
#FFC229
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #310310

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

Preview Lab → · Contrast checker → · Palette generator →

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