#2F0420#2F0420

#2F0420 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.078 H 345.5°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#2F0420
RGBrgb(47, 4, 32)
HSLhsl(321, 84%, 10%)
HSVhsv(321, 91%, 18%)
CMYKcmyk(0%, 91.5%, 31.9%, 81.6%)
CIE-LABlab(7.19, 24.82, -7.34)
CIE-LCHlch(7.19, 25.88, 343.52°)
OKLaboklab(21% 0.0757 -0.0196)
OKLCHoklch(21% 0.078 345.5)
XYZxyz(1.4765, 0.7956, 1.4420)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0420 #042F13
analogous
#28042F #2F0420 #2F040B
triadic
#2F0420 #202F04 #04202F
tetradic
#2F0420 #2F2804 #042F13 #040B2F
square
#2F0420 #2F2804 #042F13 #040B2F
split-complementary
#2F0420 #0B2F04 #042F28
monochromatic
#1C0213 #1C0213 #2F0420 #670946 #A00E6D

Accessibility & contrast

On white

18.12
#2F0420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0420
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0420#FFFFFF#000000##FFFFFF
##2F04201.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091121
Deuteranopia (green-blind)
#16191F
Tritanopia (blue-blind)
#330310
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0420;
/* rgb */ color: rgb(47, 4, 32);
/* oklch */ color: oklch(21.0% 0.078 345.5);
Tailwind
colors: {
  custom: {
    50: '#6a495b',
    500: '#2f0420',
    950: '#000000',
  },
}
SCSS
$custom: #2f0420;
$custom-light: #6a495b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0420",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 32
  },
  "hsl": {
    "h": 320.93,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21003,
    "c": 0.07825,
    "h": 345.5
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#2F0420
secondary
#1D723B
accent
#FB752D
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #2F0420

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

Preview Lab → · Contrast checker → · Palette generator →

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