#0F5252#0F5252

#0F5252 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 40.0% C 0.063 H 194.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#0F5252
RGBrgb(15, 82, 82)
HSLhsl(180, 69%, 19%)
HSVhsv(180, 82%, 32%)
CMYKcmyk(81.7%, 0%, 0%, 67.8%)
CIE-LABlab(31.22, -19.53, -5.82)
CIE-LCHlch(31.22, 20.38, 196.58°)
OKLaboklab(39.97% -0.0607 -0.0162)
OKLCHoklch(39.97% 0.063 194.9)
XYZxyz(4.7366, 6.7448, 9.0332)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5252 #520F0F
analogous
#0F5231 #0F5252 #0F3152
triadic
#0F5252 #520F52 #52520F
tetradic
#0F5252 #310F52 #520F0F #31520F
square
#0F5252 #310F52 #520F0F #31520F
split-complementary
#0F5252 #520F31 #52310F
monochromatic
#051A1A #061E1E #0F5252 #188686 #22B9B9

Accessibility & contrast

On white

8.94
#0F5252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0F5252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5252
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5252#FFFFFF#000000##FFFFFF
##0F52521.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E52
Deuteranopia (green-blind)
#424652
Tritanopia (blue-blind)
#005552
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5252;
/* rgb */ color: rgb(15, 82, 82);
/* oklch */ color: oklch(40.0% 0.063 194.9);
Tailwind
colors: {
  custom: {
    50: '#5c8382',
    500: '#0f5252',
    950: '#000000',
  },
}
SCSS
$custom: #0f5252;
$custom-light: #5c8382;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5252",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 82
  },
  "hsl": {
    "h": 180,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.06279,
    "h": 194.9
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#0F5252
secondary
#8C3131
accent
#3C3CEC
background
#F5F8F7
surface
#E9EFEE
border
#C5CAC9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #0F5252

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

Preview Lab → · Contrast checker → · Palette generator →

#0F5252 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva