#2F0421#2F0421

#2F0421 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.079 H 344.1°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#2F0421
RGBrgb(47, 4, 33)
HSLhsl(320, 84%, 10%)
HSVhsv(320, 91%, 18%)
CMYKcmyk(0%, 91.5%, 29.8%, 81.6%)
CIE-LABlab(7.24, 24.99, -8.04)
CIE-LCHlch(7.24, 26.25, 342.17°)
OKLaboklab(21.06% 0.076 -0.0216)
OKLCHoklch(21.06% 0.079 344.1)
XYZxyz(1.4903, 0.8011, 1.5147)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0421 #042F12
analogous
#28042F #2F0421 #2F040B
triadic
#2F0421 #212F04 #04212F
tetradic
#2F0421 #2F2804 #042F12 #040B2F
square
#2F0421 #2F2804 #042F12 #040B2F
split-complementary
#2F0421 #0B2F04 #042F28
monochromatic
#1C0214 #1C0214 #2F0421 #670949 #A00E70

Accessibility & contrast

On white

18.10
#2F0421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F0421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0421
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0421#FFFFFF#000000##FFFFFF
##2F04211.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081122
Deuteranopia (green-blind)
#161920
Tritanopia (blue-blind)
#330411
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0421;
/* rgb */ color: rgb(47, 4, 33);
/* oklch */ color: oklch(21.1% 0.079 344.1);
Tailwind
colors: {
  custom: {
    50: '#6a495c',
    500: '#2f0421',
    950: '#000000',
  },
}
SCSS
$custom: #2f0421;
$custom-light: #6a495c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0421",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 319.535,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21059,
    "c": 0.07898,
    "h": 344.1
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#2F0421
secondary
#1D7239
accent
#FB702D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0421

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

Preview Lab → · Contrast checker → · Palette generator →

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