#28010F#28010F

#28010F is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 18.1% C 0.070 H 2.6°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#28010F
RGBrgb(40, 1, 15)
HSLhsl(338, 95%, 8%)
HSVhsv(338, 98%, 16%)
CMYKcmyk(0%, 97.5%, 62.5%, 84.3%)
CIE-LABlab(4.58, 19.81, 0.77)
CIE-LCHlch(4.58, 19.83, 2.23°)
OKLaboklab(18.1% 0.0695 0.0032)
OKLCHoklch(18.1% 0.07 2.6)
XYZxyz(0.9722, 0.5075, 0.4986)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28010F #01281A
analogous
#280122 #28010F #280701
triadic
#28010F #0F2801 #010F28
tetradic
#28010F #222801 #01281A #070128
square
#28010F #222801 #01281A #070128
split-complementary
#28010F #012807 #012228
monochromatic
#1E010B #1E010B #28010F #640225 #9F043C

Accessibility & contrast

On white

19.07
#28010F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#28010F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28010F
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28010F#FFFFFF#000000##FFFFFF
##28010F1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080A0F
Deuteranopia (green-blind)
#14130E
Tritanopia (blue-blind)
#2D0006
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #28010f;
/* rgb */ color: rgb(40, 1, 15);
/* oklch */ color: oklch(18.1% 0.070 2.6);
Tailwind
colors: {
  custom: {
    50: '#64464e',
    500: '#28010f',
    950: '#000000',
  },
}
SCSS
$custom: #28010f;
$custom-light: #64464e;
$custom-dark: #000000;
JSON
{
  "hex": "#28010f",
  "rgb": {
    "r": 40,
    "g": 1,
    "b": 15
  },
  "hsl": {
    "h": 338.462,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18097,
    "c": 0.06957,
    "h": 2.6
  },
  "luminance": 0.00507
}

Semantic roles & 50–950 ramp

primary
#28010F
secondary
#166F4F
accent
#FFB229
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #28010F

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

Preview Lab → · Contrast checker → · Palette generator →

#28010F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva