#2F0213#2F0213

#2F0213 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.1% C 0.075 H 2.7°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#2F0213
RGBrgb(47, 2, 19)
HSLhsl(337, 92%, 10%)
HSVhsv(337, 96%, 18%)
CMYKcmyk(0%, 95.7%, 59.6%, 81.6%)
CIE-LABlab(6.28, 23.91, 1.08)
CIE-LCHlch(6.28, 23.93, 2.59°)
OKLaboklab(20.07% 0.0753 0.0036)
OKLCHoklch(20.07% 0.075 2.7)
XYZxyz(1.3117, 0.6950, 0.6810)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0213 #022F1E
analogous
#2F022A #2F0213 #2F0702
triadic
#2F0213 #132F02 #02132F
tetradic
#2F0213 #2A2F02 #022F1E #07022F
square
#2F0213 #2A2F02 #022F1E #07022F
split-complementary
#2F0213 #022F07 #022A2F
monochromatic
#1D010C #1D010C #2F0213 #6A042B #A40742

Accessibility & contrast

On white

18.44
#2F0213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0213
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0213#FFFFFF#000000##FFFFFF
##2F02131.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0E13
Deuteranopia (green-blind)
#191712
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0213;
/* rgb */ color: rgb(47, 2, 19);
/* oklch */ color: oklch(20.1% 0.075 2.7);
Tailwind
colors: {
  custom: {
    50: '#6b4750',
    500: '#2f0213',
    950: '#000000',
  },
}
SCSS
$custom: #2f0213;
$custom-light: #6b4750;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0213",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 337.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2007,
    "c": 0.07538,
    "h": 2.7
  },
  "luminance": 0.00695
}

Semantic roles & 50–950 ramp

primary
#2F0213
secondary
#197451
accent
#FFAE29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #2F0213

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

Preview Lab → · Contrast checker → · Palette generator →

#2F0213 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva