#2F0125#2F0125

#2F0125 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.088 H 338.7°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2F0125
RGBrgb(47, 1, 37)
HSLhsl(313, 96%, 9%)
HSVhsv(313, 98%, 18%)
CMYKcmyk(0%, 97.9%, 21.3%, 81.6%)
CIE-LABlab(6.86, 27.34, -11.69)
CIE-LCHlch(6.86, 29.74, 336.86°)
OKLaboklab(20.84% 0.0823 -0.032)
OKLCHoklch(20.84% 0.088 338.7)
XYZxyz(1.5171, 0.7598, 1.8167)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0125 #012F0B
analogous
#22012F #2F0125 #2F010E
triadic
#2F0125 #252F01 #01252F
tetradic
#2F0125 #2F2201 #012F0B #010E2F
square
#2F0125 #2F2201 #012F0B #010E2F
split-complementary
#2F0125 #0E2F01 #012F22
monochromatic
#1E0118 #1E0118 #2F0125 #6B0254 #A70483

Accessibility & contrast

On white

18.23
#2F0125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0125
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0125#FFFFFF#000000##FFFFFF
##2F01251.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031026
Deuteranopia (green-blind)
#131824
Tritanopia (blue-blind)
#320312
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0125;
/* rgb */ color: rgb(47, 1, 37);
/* oklch */ color: oklch(20.8% 0.088 338.7);
Tailwind
colors: {
  custom: {
    50: '#6a475f',
    500: '#2f0125',
    950: '#000000',
  },
}
SCSS
$custom: #2f0125;
$custom-light: #6a475f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0125",
  "rgb": {
    "r": 47,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 313.043,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20843,
    "c": 0.08828,
    "h": 338.7
  },
  "luminance": 0.0076
}

Semantic roles & 50–950 ramp

primary
#2F0125
secondary
#17752B
accent
#FF5729
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #2F0125

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

Preview Lab → · Contrast checker → · Palette generator →

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