#240313#240313

#240313 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.8% C 0.062 H 353.8°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#240313
RGBrgb(36, 3, 19)
HSLhsl(331, 85%, 8%)
HSVhsv(331, 92%, 14%)
CMYKcmyk(0%, 91.7%, 47.2%, 85.9%)
CIE-LABlab(4.40, 16.96, -1.91)
CIE-LCHlch(4.40, 17.07, 353.59°)
OKLaboklab(17.77% 0.0618 -0.0067)
OKLCHoklch(17.77% 0.062 353.8)
XYZxyz(0.8777, 0.4873, 0.6638)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240313 #032414
analogous
#240323 #240313 #240303
triadic
#240313 #132403 #031324
tetradic
#240313 #232403 #032414 #030324
square
#240313 #232403 #032414 #030324
split-complementary
#240313 #032403 #032324
monochromatic
#1C020F #1C020F #240313 #5C0831 #950C4F

Accessibility & contrast

On white

19.14
#240313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#240313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240313
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240313#FFFFFF#000000##FFFFFF
##2403131.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080B13
Deuteranopia (green-blind)
#111212
Tritanopia (blue-blind)
#280109
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240313;
/* rgb */ color: rgb(36, 3, 19);
/* oklch */ color: oklch(17.8% 0.062 353.8);
Tailwind
colors: {
  custom: {
    50: '#5f4750',
    500: '#240313',
    950: '#000000',
  },
}
SCSS
$custom: #240313;
$custom-light: #5f4750;
$custom-dark: #000000;
JSON
{
  "hex": "#240313",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 330.909,
    "s": 84.615,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17775,
    "c": 0.06216,
    "h": 353.8
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#240313
secondary
#1B6843
accent
#FB972D
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050002
muted
#797778

Preview Lab

Preview with #240313

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

Preview Lab → · Contrast checker → · Palette generator →

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