#2F0123#2F0123

#2F0123 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.7% C 0.087 H 341.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#2F0123
RGBrgb(47, 1, 35)
HSLhsl(316, 96%, 9%)
HSVhsv(316, 98%, 18%)
CMYKcmyk(0%, 97.9%, 25.5%, 81.6%)
CIE-LABlab(6.75, 26.97, -10.32)
CIE-LCHlch(6.75, 28.88, 339.06°)
OKLaboklab(20.72% 0.0821 -0.0282)
OKLCHoklch(20.72% 0.087 341)
XYZxyz(1.4866, 0.7476, 1.6558)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0123 #012F0D
analogous
#24012F #2F0123 #2F010C
triadic
#2F0123 #232F01 #01232F
tetradic
#2F0123 #2F2401 #012F0D #010C2F
square
#2F0123 #2F2401 #012F0D #010C2F
split-complementary
#2F0123 #0C2F01 #012F24
monochromatic
#1E0116 #1E0116 #2F0123 #6B0250 #A7047C

Accessibility & contrast

On white

18.27
#2F0123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0123
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0123#FFFFFF#000000##FFFFFF
##2F01231.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041024
Deuteranopia (green-blind)
#141822
Tritanopia (blue-blind)
#330211
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0123;
/* rgb */ color: rgb(47, 1, 35);
/* oklch */ color: oklch(20.7% 0.087 341.0);
Tailwind
colors: {
  custom: {
    50: '#6a475e',
    500: '#2f0123',
    950: '#000000',
  },
}
SCSS
$custom: #2f0123;
$custom-light: #6a475e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0123",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 315.652,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20715,
    "c": 0.08676,
    "h": 341
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2F0123
secondary
#17752F
accent
#FF6129
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0123

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

Preview Lab → · Contrast checker → · Palette generator →

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